diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-08-07 11:29:47 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-08-07 11:29:47 +0200 |
commit | b6e9577aaed919975f32ee1a5a9821668089f2db (patch) | |
tree | 18d3c0ebdc5db92a7caa5931c8171787932f333c /src/GainControl.cpp | |
parent | e68fa7c6cb9a718ec16cf849e5885e1ca9b3cf3d (diff) | |
download | dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.gz dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.bz2 dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.zip |
Keep RC-modified settings across modulator restarts
Diffstat (limited to 'src/GainControl.cpp')
-rw-r--r-- | src/GainControl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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__ |