diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-03-17 14:01:05 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-03-17 14:01:05 +0100 |
commit | 987a31954ea574e04c2e79fe3765448c1b607e49 (patch) | |
tree | a8ad6e6dc7fe5a210fb73be989e3b4c6bdf8192d /src/ConfigParser.cpp | |
parent | 8cde8201e657c024163e64a3df62ff91f2b2513f (diff) | |
download | dabmod-987a31954ea574e04c2e79fe3765448c1b607e49.tar.gz dabmod-987a31954ea574e04c2e79fe3765448c1b607e49.tar.bz2 dabmod-987a31954ea574e04c2e79fe3765448c1b607e49.zip |
Add gainmode var variance to config file
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index a1e6e34..393f58a 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -154,6 +154,8 @@ static void parse_configfile( // modulator parameters: const string gainMode_setting = pt.get("modulator.gainmode", "var"); mod_settings.gainMode = parse_gainmode(gainMode_setting); + mod_settings.gainmodeVariance = pt.get("modulator.normalise_variance", + mod_settings.gainmodeVariance); mod_settings.dabMode = pt.get("modulator.mode", mod_settings.dabMode); mod_settings.clockRate = pt.get("modulator.dac_clk_rate", (size_t)0); |