aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-28 14:30:27 +0200
committerandreas128 <Andreas>2017-09-28 14:30:27 +0200
commitbb8c1b01a3b18eaace87cb959ab4181b76626655 (patch)
treef409c1db26f62b18e9ccf6555cdbd277d3efe301 /src/DabModulator.cpp
parenta5f44b01bebf02caf8b294be16633ce35e26845f (diff)
parent7593596f6b21483d5af0a55715065fa2b44c1019 (diff)
downloaddabmod-bb8c1b01a3b18eaace87cb959ab4181b76626655.tar.gz
dabmod-bb8c1b01a3b18eaace87cb959ab4181b76626655.tar.bz2
dabmod-bb8c1b01a3b18eaace87cb959ab4181b76626655.zip
Merge branch 'next' of github.com:Opendigitalradio/ODR-DabMod into next
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,