From b6e9577aaed919975f32ee1a5a9821668089f2db Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 7 Aug 2018 11:29:47 +0200 Subject: Keep RC-modified settings 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 07660ff..9cde8b1 100644 --- a/src/GainControl.cpp +++ b/src/GainControl.cpp @@ -46,10 +46,10 @@ using namespace std; static float var_variance; GainControl::GainControl(size_t framesize, - GainMode gainMode, - float digGain, + GainMode& gainMode, + float& digGain, float normalise, - float varVariance) : + float& varVariance) : PipelinedModCodec(), RemoteControllable("gain"), #ifdef __SSE__ -- cgit v1.2.3