diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-01-22 08:43:44 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-01-22 08:43:44 +0100 |
commit | 9c72ead2dadad8982f345e4f5c1d8206668ebc61 (patch) | |
tree | 28b28dd975557dfad7211f3e0049d0609151040b | |
parent | b717160a90279c21c068d39673c6aafad66dfcae (diff) | |
download | dabmod-9c72ead2dadad8982f345e4f5c1d8206668ebc61.tar.gz dabmod-9c72ead2dadad8982f345e4f5c1d8206668ebc61.tar.bz2 dabmod-9c72ead2dadad8982f345e4f5c1d8206668ebc61.zip |
Preserve digital gain across DabModulator restarts
-rw-r--r-- | src/GainControl.h | 2 |
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 |