diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-01-06 11:35:35 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-01-06 11:35:35 +0100 |
commit | 3633bcc99aedda5d9ea36c143fa339139c763d3e (patch) | |
tree | 6c296bee8cfb6aabb292fe6fc040708c7e4d2e7a /src/OutputUHD.cpp | |
parent | 67c82c97dfcfc68d4bd71f5773d21c34c8733c83 (diff) | |
download | dabmod-3633bcc99aedda5d9ea36c143fa339139c763d3e.tar.gz dabmod-3633bcc99aedda5d9ea36c143fa339139c763d3e.tar.bz2 dabmod-3633bcc99aedda5d9ea36c143fa339139c763d3e.zip |
Replace EDI-to-ETI converter with a dedicated EDI source
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r-- | src/OutputUHD.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index 55a24b2..26283a8 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -273,9 +273,9 @@ OutputUHD::~OutputUHD() } -void OutputUHD::setETIReader(EtiReader *etiReader) +void OutputUHD::setETISource(EtiSource *etiSource) { - myEtiReader = etiReader; + myEtiSource = etiSource; } int transmission_frame_duration_ms(unsigned int dabMode) @@ -331,7 +331,7 @@ int OutputUHD::process(Buffer* dataIn) // we only set the delay buffer from the dab mode signaled in ETI if the // dab mode was not set in contructor if (myTFDurationMs == 0) { - SetDelayBuffer(myEtiReader->getMode()); + SetDelayBuffer(myEtiSource->getMode()); } worker.start(&uwd); @@ -350,7 +350,7 @@ int OutputUHD::process(Buffer* dataIn) } uwd.sourceContainsTimestamp = myConf.enableSync && - myEtiReader->sourceContainsTimestamp(); + myEtiSource->sourceContainsTimestamp(); if (uwd.check_gpsfix) { @@ -387,7 +387,7 @@ int OutputUHD::process(Buffer* dataIn) frame.buf.begin()); } - myEtiReader->calculateTimestamp(frame.ts); + myEtiSource->calculateTimestamp(frame.ts); if (!uwd.running) { worker.stop(); |