summaryrefslogtreecommitdiffstats
path: root/src/GainControl.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-22 08:43:44 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-22 08:43:44 +0100
commit9c72ead2dadad8982f345e4f5c1d8206668ebc61 (patch)
tree28b28dd975557dfad7211f3e0049d0609151040b /src/GainControl.h
parentb717160a90279c21c068d39673c6aafad66dfcae (diff)
downloaddabmod-9c72ead2dadad8982f345e4f5c1d8206668ebc61.tar.gz
dabmod-9c72ead2dadad8982f345e4f5c1d8206668ebc61.tar.bz2
dabmod-9c72ead2dadad8982f345e4f5c1d8206668ebc61.zip
Preserve digital gain across DabModulator restarts
Diffstat (limited to 'src/GainControl.h')
-rw-r--r--src/GainControl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GainControl.h b/src/GainControl.h
index e8965e9..4c9a2bc 100644
--- a/src/GainControl.h
+++ b/src/GainControl.h
@@ -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