summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-02 17:18:08 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-02 17:18:08 +0200
commitc9ef2a5b36d9082b2c2c853934a0332aef6564a6 (patch)
tree28561b9aa7092e76450bf31af878ce75e63465f8 /src/DabModulator.h
parentf8719227d8cb9a228adae3472b7e754aa204d9de (diff)
downloaddabmod-c9ef2a5b36d9082b2c2c853934a0332aef6564a6.tar.gz
dabmod-c9ef2a5b36d9082b2c2c853934a0332aef6564a6.tar.bz2
dabmod-c9ef2a5b36d9082b2c2c853934a0332aef6564a6.zip
Add digital gain to remote control
Diffstat (limited to 'src/DabModulator.h')
-rw-r--r--src/DabModulator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/DabModulator.h b/src/DabModulator.h
index 425c098..21f9f61 100644
--- a/src/DabModulator.h
+++ b/src/DabModulator.h
@@ -51,7 +51,8 @@ public:
Logger& logger,
unsigned outputRate = 2048000, unsigned clockRate = 0,
unsigned dabMode = 0, GainMode gainMode = GAIN_VAR,
- float factor = 1.0, std::string filterTapsFilename = "");
+ float digGain = 1.0, float normalise = 1.0,
+ std::string filterTapsFilename = "");
DabModulator(const DabModulator& copy);
virtual ~DabModulator();
@@ -70,7 +71,8 @@ protected:
unsigned myClockRate;
unsigned myDabMode;
GainMode myGainMode;
- float myFactor;
+ float myDigGain;
+ float myNormalise;
EtiReader myEtiReader;
Flowgraph* myFlowgraph;
OutputMemory* myOutput;