From 2623ad8c187c61c6c3bad4819683346438529b89 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 18 Sep 2015 11:04:48 +0200 Subject: Keep tist offset across modulator restarts --- src/DabModulator.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/DabModulator.h') diff --git a/src/DabModulator.h b/src/DabModulator.h index 9150f5c..f212ecf 100644 --- a/src/DabModulator.h +++ b/src/DabModulator.h @@ -50,14 +50,15 @@ class DabModulator : public ModCodec { public: DabModulator( - double tist_offset_s, unsigned tist_delay_stages, + double& tist_offset_s, unsigned tist_delay_stages, RemoteControllers* rcs, const tii_config_t& tiiConfig, unsigned outputRate = 2048000, unsigned clockRate = 0, unsigned dabMode = 0, GainMode gainMode = GAIN_VAR, float digGain = 1.0, float normalise = 1.0, std::string filterTapsFilename = ""); - DabModulator(const DabModulator& copy); + DabModulator(const DabModulator& other) = delete; + DabModulator& operator=(const DabModulator& other) = delete; virtual ~DabModulator(); int process(Buffer* const dataIn, Buffer* dataOut); -- cgit v1.2.3