diff options
Diffstat (limited to 'src/GainControl.h')
-rw-r--r-- | src/GainControl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GainControl.h b/src/GainControl.h index b4579cd..e8965e9 100644 --- a/src/GainControl.h +++ b/src/GainControl.h @@ -51,10 +51,10 @@ class GainControl : public PipelinedModCodec, public RemoteControllable { public: GainControl(size_t framesize, - GainMode gainMode, - float digGain, + GainMode& gainMode, + float& digGain, float normalise, - float varVariance); + float& varVariance); virtual ~GainControl(); GainControl(const GainControl&) = delete; @@ -80,8 +80,8 @@ class GainControl : public PipelinedModCodec, public RemoteControllable float m_normalise; // The following variables are accessed from the RC thread - float m_var_variance_rc; - GainMode m_gainmode; + float& m_var_variance_rc; + GainMode& m_gainmode; mutable std::mutex m_mutex; #ifdef __SSE__ |