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.h | |
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.h')
-rw-r--r-- | src/DabModulator.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |