From 47c823ac611c54ae8ce3af2da40f9db0ec9b9195 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli (think)" Date: Thu, 13 Sep 2012 22:42:47 +0200 Subject: crc-dabmod: much cleaner logging implementation --- src/DabModulator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/DabModulator.h') diff --git a/src/DabModulator.h b/src/DabModulator.h index e91507c..bc93345 100644 --- a/src/DabModulator.h +++ b/src/DabModulator.h @@ -39,6 +39,7 @@ #include "GainControl.h" #include "OutputMemory.h" #include "RemoteControl.h" +#include "Log.h" class DabModulator : public ModCodec @@ -47,6 +48,7 @@ public: DabModulator( struct modulator_offset_config& modconf, BaseRemoteController* rc, + Logger& logger, unsigned outputRate = 2048000, unsigned clockRate = 0, unsigned dabMode = 0, GainMode gainMode = GAIN_VAR, float factor = 1.0, std::string filterTapsFilename = ""); @@ -60,6 +62,8 @@ public: EtiReader* getEtiReader() { return &myEtiReader; } protected: + Logger& myLogger; + void setMode(unsigned mode); unsigned myOutputRate; -- cgit v1.2.3