From 987a31954ea574e04c2e79fe3765448c1b607e49 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 17 Mar 2017 14:01:05 +0100 Subject: Add gainmode var variance to config file --- src/GainControl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/GainControl.cpp') 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() { -- cgit v1.2.3