aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-09-18 11:04:48 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-09-18 11:04:48 +0200
commit2623ad8c187c61c6c3bad4819683346438529b89 (patch)
tree97135baab8361cc0df243d9fdee82ab659dc2c3b /src/DabModulator.h
parentfa1e1ebca142e5256d50247ef13dc5efc56c6346 (diff)
downloaddabmod-2623ad8c187c61c6c3bad4819683346438529b89.tar.gz
dabmod-2623ad8c187c61c6c3bad4819683346438529b89.tar.bz2
dabmod-2623ad8c187c61c6c3bad4819683346438529b89.zip
Keep tist offset across modulator restarts
Diffstat (limited to 'src/DabModulator.h')
-rw-r--r--src/DabModulator.h5
1 files changed, 3 insertions, 2 deletions
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);