summaryrefslogtreecommitdiffstats
path: root/src/GainControl.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 16:15:54 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 16:15:54 +0200
commit1cfebd56f205f95498079a20bca1a0667be07296 (patch)
treecbf83a18380528af6678e58cf640467ed3eaacff /src/GainControl.h
parent84c8d100c682fece37b448f38228260f84c070f2 (diff)
downloaddabmod-1cfebd56f205f95498079a20bca1a0667be07296.tar.gz
dabmod-1cfebd56f205f95498079a20bca1a0667be07296.tar.bz2
dabmod-1cfebd56f205f95498079a20bca1a0667be07296.zip
Simplify DabModulator ctor signature
Diffstat (limited to 'src/GainControl.h')
-rw-r--r--src/GainControl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GainControl.h b/src/GainControl.h
index e8f1be9..44c9fa9 100644
--- a/src/GainControl.h
+++ b/src/GainControl.h
@@ -52,7 +52,7 @@ class GainControl : public PipelinedModCodec, public RemoteControllable
public:
GainControl(size_t framesize,
GainMode mode,
- float& digGain,
+ float digGain,
float normalise,
float varVariance);
@@ -76,7 +76,7 @@ class GainControl : public PipelinedModCodec, public RemoteControllable
Buffer* const dataIn, Buffer* dataOut) override;
size_t m_frameSize;
- float& m_digGain;
+ float m_digGain;
float m_normalise;
// The following variables are accessed from the RC thread