diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-03-17 14:01:05 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-03-17 14:01:05 +0100 |
commit | 987a31954ea574e04c2e79fe3765448c1b607e49 (patch) | |
tree | a8ad6e6dc7fe5a210fb73be989e3b4c6bdf8192d /src/GainControl.cpp | |
parent | 8cde8201e657c024163e64a3df62ff91f2b2513f (diff) | |
download | dabmod-987a31954ea574e04c2e79fe3765448c1b607e49.tar.gz dabmod-987a31954ea574e04c2e79fe3765448c1b607e49.tar.bz2 dabmod-987a31954ea574e04c2e79fe3765448c1b607e49.zip |
Add gainmode var variance to config file
Diffstat (limited to 'src/GainControl.cpp')
-rw-r--r-- | src/GainControl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GainControl.cpp b/src/GainControl.cpp index 81ae06e..9eb1678 100644 --- a/src/GainControl.cpp +++ b/src/GainControl.cpp @@ -48,7 +48,8 @@ static float var_variance; GainControl::GainControl(size_t framesize, GainMode mode, float& digGain, - float normalise) : + float normalise, + float varVariance) : PipelinedModCodec(), RemoteControllable("gain"), #ifdef __SSE__ @@ -58,7 +59,7 @@ GainControl::GainControl(size_t framesize, #endif m_digGain(digGain), m_normalise(normalise), - m_var_variance_rc(4.0f), + m_var_variance_rc(varVariance), m_gainmode(mode), m_mutex() { |