From 46471d4ada2e7f0c12a74f829c8e12bb5c29cf89 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 19 Nov 2024 14:47:09 +0100 Subject: Simplify OfdmGenerator constructors --- src/DabModulator.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/DabModulator.cpp') 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( (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( (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 -- cgit v1.2.3