From 8f1d668ddad1bd2c44932b93853282b4eec9eba4 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 18 Sep 2015 11:29:57 +0200 Subject: Keep digital gain across modulator restarts --- src/GainControl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/GainControl.cpp') diff --git a/src/GainControl.cpp b/src/GainControl.cpp index 03d8aa6..ee912bb 100644 --- a/src/GainControl.cpp +++ b/src/GainControl.cpp @@ -45,9 +45,9 @@ using namespace std; GainControl::GainControl(size_t framesize, - GainMode mode, - float digGain, - float normalise) : + GainMode mode, + float& digGain, + float normalise) : ModCodec(ModFormat(framesize * sizeof(complexf)), ModFormat(framesize * sizeof(complexf))), RemoteControllable("gain"), -- cgit v1.2.3