aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-04-01 12:13:01 +0100
committerandreas128 <Andreas>2017-04-02 11:42:38 +0100
commit89ac4f53d0a10d1c07980fae5ddeb8818e7b9733 (patch)
tree01efcbbe06769e94e1a1acd3bc66299f01b30c2b /src/ConfigParser.cpp
parent6243a4fac50a9c8690e13c2df65c058e69fdcae5 (diff)
downloaddabmod-89ac4f53d0a10d1c07980fae5ddeb8818e7b9733.tar.gz
dabmod-89ac4f53d0a10d1c07980fae5ddeb8818e7b9733.tar.bz2
dabmod-89ac4f53d0a10d1c07980fae5ddeb8818e7b9733.zip
Fix file reading
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 393f58a..b7649df 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -168,6 +168,12 @@ static void parse_configfile(
pt.get<std::string>("firfilter.filtertapsfile", "default");
}
+ // Poly coefficients:
+ if (pt.get("poly.enabled", 0) == 1) {
+ mod_settings.polyCoefFilename =
+ pt.get<std::string>("poly.polycoeffile", "default");
+ }
+
// Output options
std::string output_selected;
try {