aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-21 18:14:55 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-28 13:36:48 +0200
commit571d57c591b23d212934f0bb969c33d15c729982 (patch)
treec5d39bea968b052de46d187ffc0cffab91084aa4 /src/DabModulator.cpp
parent75653763057bb9bf018dfde1a3cda8681c8b8e34 (diff)
downloaddabmod-571d57c591b23d212934f0bb969c33d15c729982.tar.gz
dabmod-571d57c591b23d212934f0bb969c33d15c729982.tar.bz2
dabmod-571d57c591b23d212934f0bb969c33d15c729982.zip
Fix some CFR things, still WIP
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index cc2642a..0914469 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -183,7 +183,14 @@ int DabModulator::process(Buffer* dataOut)
}
auto cifOfdm = make_shared<OfdmGenerator>(
- (1 + myNbSymbols), myNbCarriers, mySpacing);
+ (1 + myNbSymbols),
+ myNbCarriers,
+ mySpacing,
+ m_settings.enableCfr,
+ m_settings.cfrClip,
+ m_settings.cfrErrorClip);
+
+ rcs.enrol(cifOfdm.get());
auto cifGain = make_shared<GainControl>(
mySpacing,