aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-06-12 07:42:22 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-06-12 07:42:22 +0200
commitfed9a724ca91417e84071255890ec26ff797fd4f (patch)
treee20a2f1ddcf4e18acf1fcc5790507a2b515d1ff9 /src/DabModulator.cpp
parent5e5c0871db3069958ae072c5a367c4467f261d3e (diff)
downloaddabmod-fed9a724ca91417e84071255890ec26ff797fd4f.tar.gz
dabmod-fed9a724ca91417e84071255890ec26ff797fd4f.tar.bz2
dabmod-fed9a724ca91417e84071255890ec26ff797fd4f.zip
Simplify TIST offset handling, add offset to RC
This breaks old configuration files using synchronous=1
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 4769502..35ef7cb 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -55,7 +55,7 @@
using namespace boost;
DabModulator::DabModulator(
- struct modulator_offset_config& modconf,
+ double tist_offset_s, unsigned tist_delay_stages,
RemoteControllers* rcs,
unsigned outputRate, unsigned clockRate,
unsigned dabMode, GainMode gainMode,
@@ -69,7 +69,7 @@ DabModulator::DabModulator(
myGainMode(gainMode),
myDigGain(digGain),
myNormalise(normalise),
- myEtiReader(EtiReader(modconf)),
+ myEtiReader(EtiReader(tist_offset_s, tist_delay_stages, rcs)),
myFlowgraph(NULL),
myFilterTapsFilename(filterTapsFilename),
myRCs(rcs)