From 9c72ead2dadad8982f345e4f5c1d8206668ebc61 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 22 Jan 2019 08:43:44 +0100 Subject: Preserve digital gain across DabModulator restarts --- src/GainControl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3