aboutsummaryrefslogtreecommitdiffstats
path: root/src/EtiReader.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2012-09-13 22:42:47 +0200
committerMatthias P. Braendli (think) <matthias@mpb.li>2012-09-13 22:42:47 +0200
commit47c823ac611c54ae8ce3af2da40f9db0ec9b9195 (patch)
tree669e233651e50ef3ce84df314cde9e7c0f3a7bf3 /src/EtiReader.cpp
parent95db3fa1e516aefa239f0dbe06bcda674e57b6a1 (diff)
downloaddabmod-47c823ac611c54ae8ce3af2da40f9db0ec9b9195.tar.gz
dabmod-47c823ac611c54ae8ce3af2da40f9db0ec9b9195.tar.bz2
dabmod-47c823ac611c54ae8ce3af2da40f9db0ec9b9195.zip
crc-dabmod: much cleaner logging implementation
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r--src/EtiReader.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp
index 7e7d4af..fcc0125 100644
--- a/src/EtiReader.cpp
+++ b/src/EtiReader.cpp
@@ -23,6 +23,7 @@
*/
#include "EtiReader.h"
+#include "Log.h"
#include "PcDebug.h"
#include "TimestampDecoder.h"
@@ -47,13 +48,16 @@ enum ETI_READER_STATE {
};
-EtiReader::EtiReader(struct modulator_offset_config& modconf) :
- state(EtiReaderStateSync), myFicSource(NULL)
+EtiReader::EtiReader(struct modulator_offset_config& modconf,
+ Logger& logger) :
+ myLogger(logger),
+ state(EtiReaderStateSync),
+ myFicSource(NULL)
{
PDEBUG("EtiReader::EtiReader()\n");
myCurrentFrame = 0;
- myTimestampDecoder = new TimestampDecoder(modconf);
+ myTimestampDecoder = new TimestampDecoder(modconf, myLogger);
}
EtiReader::~EtiReader()