summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.h
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2012-08-17 11:33:02 +0200
committerMatthias P. Braendli (think) <matthias@mpb.li>2012-08-17 11:33:02 +0200
commitd4a1f755a9e5426187fe6e80eb32c299f81104dd (patch)
treeb65bd65db58b277ac04a416da169b74da51099d8 /src/DabModulator.h
parent63f6e31cad0276352dd508394742b3161dde77bf (diff)
downloaddabmod-d4a1f755a9e5426187fe6e80eb32c299f81104dd.tar.gz
dabmod-d4a1f755a9e5426187fe6e80eb32c299f81104dd.tar.bz2
dabmod-d4a1f755a9e5426187fe6e80eb32c299f81104dd.zip
crc-dabmod: remote control for FIRFilter
Diffstat (limited to 'src/DabModulator.h')
-rw-r--r--src/DabModulator.h8
1 files changed, 6 insertions, 2 deletions
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 <sys/types.h>
+#include <string>
#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;