diff options
author | Matthias P. Braendli (think) <matthias@mpb.li> | 2012-09-13 22:42:47 +0200 |
---|---|---|
committer | Matthias P. Braendli (think) <matthias@mpb.li> | 2012-09-13 22:42:47 +0200 |
commit | 47c823ac611c54ae8ce3af2da40f9db0ec9b9195 (patch) | |
tree | 669e233651e50ef3ce84df314cde9e7c0f3a7bf3 /src/DabModulator.cpp | |
parent | 95db3fa1e516aefa239f0dbe06bcda674e57b6a1 (diff) | |
download | dabmod-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.cpp | 5 |
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) |