diff options
author | andreas128 <Andreas> | 2017-04-01 12:13:01 +0100 |
---|---|---|
committer | andreas128 <Andreas> | 2017-04-02 11:42:38 +0100 |
commit | 89ac4f53d0a10d1c07980fae5ddeb8818e7b9733 (patch) | |
tree | 01efcbbe06769e94e1a1acd3bc66299f01b30c2b /src/ConfigParser.cpp | |
parent | 6243a4fac50a9c8690e13c2df65c058e69fdcae5 (diff) | |
download | dabmod-89ac4f53d0a10d1c07980fae5ddeb8818e7b9733.tar.gz dabmod-89ac4f53d0a10d1c07980fae5ddeb8818e7b9733.tar.bz2 dabmod-89ac4f53d0a10d1c07980fae5ddeb8818e7b9733.zip |
Fix file reading
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 6 |
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 { |