summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.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/DabModulator.cpp
parent95db3fa1e516aefa239f0dbe06bcda674e57b6a1 (diff)
downloaddabmod-47c823ac611c54ae8ce3af2da40f9db0ec9b9195.tar.gz
dabmod-47c823ac611c54ae8ce3af2da40f9db0ec9b9195.tar.bz2
dabmod-47c823ac611c54ae8ce3af2da40f9db0ec9b9195.zip
crc-dabmod: much cleaner logging implementation
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 14c6d3d..662f98a 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -48,22 +48,25 @@
#include "TimeInterleaver.h"
#include "TimestampDecoder.h"
#include "RemoteControl.h"
+#include "Log.h"
DabModulator::DabModulator(
struct modulator_offset_config& modconf,
BaseRemoteController* rc,
+ Logger& logger,
unsigned outputRate, unsigned clockRate,
unsigned dabMode, GainMode gainMode, float factor,
std::string filterTapsFilename
) :
ModCodec(ModFormat(1), ModFormat(0)),
+ myLogger(logger),
myOutputRate(outputRate),
myClockRate(clockRate),
myDabMode(dabMode),
myGainMode(gainMode),
myFactor(factor),
- myEtiReader(EtiReader(modconf)),
+ myEtiReader(EtiReader(modconf, myLogger)),
myFlowgraph(NULL),
myFilterTapsFilename(filterTapsFilename),
myRC(rc)