diff options
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r-- | src/EtiReader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp index fcc0125..b1fa482 100644 --- a/src/EtiReader.cpp +++ b/src/EtiReader.cpp @@ -52,12 +52,12 @@ EtiReader::EtiReader(struct modulator_offset_config& modconf, Logger& logger) : myLogger(logger), state(EtiReaderStateSync), - myFicSource(NULL) + myFicSource(NULL), + myTimestampDecoder(modconf, myLogger) { PDEBUG("EtiReader::EtiReader()\n"); myCurrentFrame = 0; - myTimestampDecoder = new TimestampDecoder(modconf, myLogger); } EtiReader::~EtiReader() @@ -276,13 +276,13 @@ int EtiReader::process(Buffer* dataIn) } // Update timestamps - myTimestampDecoder->updateTimestampEti(eti_fc.FP & 0x3, + myTimestampDecoder.updateTimestampEti(eti_fc.FP & 0x3, eti_eoh.MNSC, getPPSOffset()); if (getFCT() % 125 == 0) //every 3 seconds is fine enough { - myTimestampDecoder->updateModulatorOffset(); + myTimestampDecoder.updateModulatorOffset(); } return dataIn->getLength() - input_size; |