aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-08-17 16:28:35 +0200
committerandreas128 <Andreas>2017-08-17 16:28:35 +0200
commita8b1aa0b60a1f5bf884069091d0f43b12c521bb8 (patch)
treec1a670f026215797f97c1acc7298c5ad7e05f85e /src/ConfigParser.cpp
parent4fe5b4cacad22c84110061cb1cce4c0cf29b79fa (diff)
parentfe62dff97924c045affe10da2e896e29e10e6aed (diff)
downloaddabmod-a8b1aa0b60a1f5bf884069091d0f43b12c521bb8.tar.gz
dabmod-a8b1aa0b60a1f5bf884069091d0f43b12c521bb8.tar.bz2
dabmod-a8b1aa0b60a1f5bf884069091d0f43b12c521bb8.zip
Merge branch 'next_memless' of github.com:Opendigitalradio/ODR-DabMod into next_memless
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 459811f..9ac1280 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -171,7 +171,10 @@ static void parse_configfile(
// Poly coefficients:
if (pt.get("poly.enabled", 0) == 1) {
mod_settings.polyCoefFilename =
- pt.get<std::string>("poly.polycoeffile", "default");
+ pt.get<std::string>("poly.polycoeffile", "dpd/poly.coef");
+
+ mod_settings.polyNumThreads =
+ pt.get<int>("poly.num_threads", 0);
}
// Output options