From d4a1f755a9e5426187fe6e80eb32c299f81104dd Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli (think)" Date: Fri, 17 Aug 2012 11:33:02 +0200 Subject: crc-dabmod: remote control for FIRFilter --- src/DabModulator.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/DabModulator.h') diff --git a/src/DabModulator.h b/src/DabModulator.h index 72fee41..e91507c 100644 --- a/src/DabModulator.h +++ b/src/DabModulator.h @@ -31,12 +31,14 @@ #endif #include +#include #include "ModCodec.h" #include "EtiReader.h" #include "Flowgraph.h" #include "GainControl.h" #include "OutputMemory.h" +#include "RemoteControl.h" class DabModulator : public ModCodec @@ -44,9 +46,10 @@ class DabModulator : public ModCodec public: DabModulator( struct modulator_offset_config& modconf, + BaseRemoteController* rc, unsigned outputRate = 2048000, unsigned clockRate = 0, unsigned dabMode = 0, GainMode gainMode = GAIN_VAR, - float factor = 1.0, const char* filterTapsFilename = NULL); + float factor = 1.0, std::string filterTapsFilename = ""); DabModulator(const DabModulator& copy); virtual ~DabModulator(); @@ -67,7 +70,8 @@ protected: EtiReader myEtiReader; Flowgraph* myFlowgraph; OutputMemory* myOutput; - const char* myFilterTapsFilename; + std::string myFilterTapsFilename; + BaseRemoteController* myRC; size_t myNbSymbols; size_t myNbCarriers; -- cgit v1.2.3