aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-19 14:47:09 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-19 14:47:09 +0100
commit46471d4ada2e7f0c12a74f829c8e12bb5c29cf89 (patch)
tree407b9278520c858bfee02b6e085b92fd1bc18a49 /src/DabModulator.cpp
parent101952b8277dede9c70a72a7f9e7a75ed3a291e0 (diff)
downloaddabmod-46471d4ada2e7f0c12a74f829c8e12bb5c29cf89.tar.gz
dabmod-46471d4ada2e7f0c12a74f829c8e12bb5c29cf89.tar.bz2
dabmod-46471d4ada2e7f0c12a74f829c8e12bb5c29cf89.zip
Simplify OfdmGenerator constructors
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index e0a613f..5f7aaf6 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -209,20 +209,14 @@ int DabModulator::process(Buffer* dataOut)
cifOfdm = make_shared<OfdmGeneratorFixed>(
(1 + m_nbSymbols),
m_nbCarriers,
- m_spacing,
- m_settings.enableCfr,
- m_settings.cfrClip,
- m_settings.cfrErrorClip);
+ m_spacing);
break;
case FFTEngine::DEXTER:
#if defined(HAVE_DEXTER)
cifOfdm = make_shared<OfdmGeneratorDEXTER>(
(1 + m_nbSymbols),
m_nbCarriers,
- m_spacing,
- m_settings.enableCfr,
- m_settings.cfrClip,
- m_settings.cfrErrorClip);
+ m_spacing);
#else
throw std::runtime_error("Cannot use DEXTER fft engine without --enable-dexter");
#endif