aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-08-24 19:16:33 +0200
committerandreas128 <Andreas>2017-08-24 19:16:33 +0200
commit28462b9d8bb08609810ea9a9882c5fa9205b8b80 (patch)
tree8bf70862be54639cc7acfbb09e600b6877cdeab4 /src/ConfigParser.cpp
parent944df89d7a6253b9077eec1655449e74b16f1418 (diff)
downloaddabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.tar.gz
dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.tar.bz2
dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.zip
Add dpd for phase correction
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 9ac1280..062660b 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -168,10 +168,13 @@ static void parse_configfile(
pt.get<std::string>("firfilter.filtertapsfile", "default");
}
- // Poly coefficients:
+ // Poly coefficients amplitude:
if (pt.get("poly.enabled", 0) == 1) {
- mod_settings.polyCoefFilename =
- pt.get<std::string>("poly.polycoeffile", "dpd/poly.coef");
+ 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.polyNumThreads =
pt.get<int>("poly.num_threads", 0);