From 8e3338479c180418a05ab030c60ba01c2a8615ca Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 29 Dec 2017 09:25:31 +0100 Subject: Fix complexf file output format --- src/DabMod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 prepare_output( if (s.fileOutputFormat == "complexf") { output = make_shared(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) -- cgit v1.2.3