diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-09-18 11:29:57 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-09-18 11:29:57 +0200 |
commit | 8f1d668ddad1bd2c44932b93853282b4eec9eba4 (patch) | |
tree | c43f5ea36b6b25b142e866b631e482d1c911aabd /src/GainControl.cpp | |
parent | de9777f27dbbe350494ba956ac5691a7a87cb892 (diff) | |
download | dabmod-8f1d668ddad1bd2c44932b93853282b4eec9eba4.tar.gz dabmod-8f1d668ddad1bd2c44932b93853282b4eec9eba4.tar.bz2 dabmod-8f1d668ddad1bd2c44932b93853282b4eec9eba4.zip |
Keep digital gain across modulator restarts
Diffstat (limited to 'src/GainControl.cpp')
-rw-r--r-- | src/GainControl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GainControl.cpp b/src/GainControl.cpp index 03d8aa6..ee912bb 100644 --- a/src/GainControl.cpp +++ b/src/GainControl.cpp @@ -45,9 +45,9 @@ using namespace std; GainControl::GainControl(size_t framesize, - GainMode mode, - float digGain, - float normalise) : + GainMode mode, + float& digGain, + float normalise) : ModCodec(ModFormat(framesize * sizeof(complexf)), ModFormat(framesize * sizeof(complexf))), RemoteControllable("gain"), |