aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-05 16:45:35 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-05 16:47:06 +0100
commit7452ff0fd85da423a5be1fdc3873106160c6ccae (patch)
tree06216a157a17091ca0a7483d4b09923e35c502e3 /src/DabModulator.cpp
parentf5214c20ae7fdbd4e00599c01bfb1321930fc805 (diff)
downloaddabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.tar.gz
dabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.tar.bz2
dabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.zip
Debug DEXTER FFT Acccelerator
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 4cbd0f5..39c1d4a 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -220,6 +220,7 @@ int DabModulator::process(Buffer* dataOut)
m_settings.cfrErrorClip);
break;
case FFTEngine::DEXTER:
+#if defined(HAVE_DEXTER)
cifOfdm = make_shared<OfdmGeneratorDEXTER>(
(1 + m_nbSymbols),
m_nbCarriers,
@@ -227,6 +228,9 @@ int DabModulator::process(Buffer* dataOut)
m_settings.enableCfr,
m_settings.cfrClip,
m_settings.cfrErrorClip);
+#else
+ throw std::runtime_error("Cannot use DEXTER fft engine without --enable-dexter");
+#endif
break;
}