From b6e9577aaed919975f32ee1a5a9821668089f2db Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 7 Aug 2018 11:29:47 +0200 Subject: Keep RC-modified settings across modulator restarts --- src/TII.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/TII.h') diff --git a/src/TII.h b/src/TII.h index 2ad4004..d8c785d 100644 --- a/src/TII.h +++ b/src/TII.h @@ -81,7 +81,7 @@ class TIIError : public std::runtime_error { class TII : public ModCodec, public RemoteControllable { public: - TII(unsigned int dabmode, const tii_config_t& tii_config); + TII(unsigned int dabmode, tii_config_t& tii_config); int process(Buffer* dataIn, Buffer* dataOut); const char* name(); @@ -105,7 +105,7 @@ class TII : public ModCodec, public RemoteControllable unsigned int m_dabmode; // Remote-controllable settings - tii_config_t m_conf; + tii_config_t& m_conf; // Internal flag when to insert TII bool m_insert = true; -- cgit v1.2.3