summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-09-18 11:29:57 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-09-18 11:29:57 +0200
commit8f1d668ddad1bd2c44932b93853282b4eec9eba4 (patch)
treec43f5ea36b6b25b142e866b631e482d1c911aabd /src/DabModulator.cpp
parentde9777f27dbbe350494ba956ac5691a7a87cb892 (diff)
downloaddabmod-8f1d668ddad1bd2c44932b93853282b4eec9eba4.tar.gz
dabmod-8f1d668ddad1bd2c44932b93853282b4eec9eba4.tar.bz2
dabmod-8f1d668ddad1bd2c44932b93853282b4eec9eba4.zip
Keep digital gain across modulator restarts
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 539de09..dbd3528 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -60,7 +60,7 @@ DabModulator::DabModulator(
const tii_config_t& tiiConfig,
unsigned outputRate, unsigned clockRate,
unsigned dabMode, GainMode gainMode,
- float digGain, float normalise,
+ float& digGain, float normalise,
std::string filterTapsFilename
) :
ModCodec(ModFormat(1), ModFormat(0)),