From 14ec3c01d8e54efaba8dcd2a57355e5752184f9e Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 5 Aug 2018 12:48:02 +0200 Subject: [PATCH] SSB modulator: set samples to zero when no modulation. Fixes issue #204 --- plugins/channeltx/modssb/ssbmod.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/channeltx/modssb/ssbmod.cpp b/plugins/channeltx/modssb/ssbmod.cpp index b31332d19..4b44a4a20 100644 --- a/plugins/channeltx/modssb/ssbmod.cpp +++ b/plugins/channeltx/modssb/ssbmod.cpp @@ -370,6 +370,8 @@ void SSBMod::pullAF(Complex& sample) break; case SSBModSettings::SSBModInputNone: default: + sample.real(0.0f); + sample.imag(0.0f); break; }