diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-29 09:25:31 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-29 09:25:31 +0100 |
commit | 8e3338479c180418a05ab030c60ba01c2a8615ca (patch) | |
tree | f84856af8f7e514a3d0e8dfc592771e8fbd3b254 /src/DabMod.cpp | |
parent | 727e8c1e139cec691d07a45abab21836f46c3d33 (diff) | |
download | dabmod-8e3338479c180418a05ab030c60ba01c2a8615ca.tar.gz dabmod-8e3338479c180418a05ab030c60ba01c2a8615ca.tar.bz2 dabmod-8e3338479c180418a05ab030c60ba01c2a8615ca.zip |
Fix complexf file output format
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r-- | src/DabMod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp index b6f2dee..25a93bf 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -182,7 +182,7 @@ static shared_ptr<ModOutput> prepare_output( if (s.fileOutputFormat == "complexf") { output = make_shared<OutputFile>(s.outputName); } - if (s.fileOutputFormat == "complexf_normalised") { + else if (s.fileOutputFormat == "complexf_normalised") { if (s.gainMode == GainMode::GAIN_FIX) s.normalise = 1.0f / normalise_factor_file_fix; else if (s.gainMode == GainMode::GAIN_MAX) |