From 2b5eac085fa2482fa3ee062d079a03454f05b390 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 25 Aug 2017 17:17:02 +0200 Subject: Put both AM/AM and AM/PM coefs to one file This partly reverts commit 28462b9d8bb08609810ea9a9882c5fa9205b8b80. --- src/ConfigParser.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/ConfigParser.cpp') diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 062660b..9ac1280 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -168,13 +168,10 @@ static void parse_configfile( pt.get("firfilter.filtertapsfile", "default"); } - // Poly coefficients amplitude: + // Poly coefficients: if (pt.get("poly.enabled", 0) == 1) { - mod_settings.polyCoefFilenameAm = - pt.get("poly.polycoeffileam", "dpd/poly_am.coef"); - - mod_settings.polyCoefFilenamePm = - pt.get("poly.polycoeffilepm", "dpd/poly_pm.coef"); + mod_settings.polyCoefFilename = + pt.get("poly.polycoeffile", "dpd/poly.coef"); mod_settings.polyNumThreads = pt.get("poly.num_threads", 0); -- cgit v1.2.3