aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-29 09:25:31 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-29 09:25:31 +0100
commit8e3338479c180418a05ab030c60ba01c2a8615ca (patch)
treef84856af8f7e514a3d0e8dfc592771e8fbd3b254 /src
parent727e8c1e139cec691d07a45abab21836f46c3d33 (diff)
downloaddabmod-8e3338479c180418a05ab030c60ba01c2a8615ca.tar.gz
dabmod-8e3338479c180418a05ab030c60ba01c2a8615ca.tar.bz2
dabmod-8e3338479c180418a05ab030c60ba01c2a8615ca.zip
Fix complexf file output format
Diffstat (limited to 'src')
-rw-r--r--src/DabMod.cpp2
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)