summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-25 17:17:02 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-25 17:17:02 +0200
commit2b5eac085fa2482fa3ee062d079a03454f05b390 (patch)
tree15b4a995070079273e3eeac8a6c884acf95f9b46 /src/ConfigParser.cpp
parent7bf3f2b9747a9f49a29a836d7c4b60f3c1070fd8 (diff)
downloaddabmod-2b5eac085fa2482fa3ee062d079a03454f05b390.tar.gz
dabmod-2b5eac085fa2482fa3ee062d079a03454f05b390.tar.bz2
dabmod-2b5eac085fa2482fa3ee062d079a03454f05b390.zip
Put both AM/AM and AM/PM coefs to one file
This partly reverts commit 28462b9d8bb08609810ea9a9882c5fa9205b8b80.
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp9
1 files changed, 3 insertions, 6 deletions
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<std::string>("firfilter.filtertapsfile", "default");
}
- // Poly coefficients amplitude:
+ // Poly coefficients:
if (pt.get("poly.enabled", 0) == 1) {
- mod_settings.polyCoefFilenameAm =
- pt.get<std::string>("poly.polycoeffileam", "dpd/poly_am.coef");
-
- mod_settings.polyCoefFilenamePm =
- pt.get<std::string>("poly.polycoeffilepm", "dpd/poly_pm.coef");
+ mod_settings.polyCoefFilename =
+ pt.get<std::string>("poly.polycoeffile", "dpd/poly.coef");
mod_settings.polyNumThreads =
pt.get<int>("poly.num_threads", 0);