aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-26 16:30:19 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-26 16:30:19 +0200
commite836f903ae5e6b6916627142d47227a142879c04 (patch)
treed60c3d26ab2b95181820cf7fc591e69db215bc90 /src/DabModulator.cpp
parent1d83a2b247f8e83bbce802a272ffa165bbc6333f (diff)
downloaddabmod-e836f903ae5e6b6916627142d47227a142879c04.tar.gz
dabmod-e836f903ae5e6b6916627142d47227a142879c04.tar.bz2
dabmod-e836f903ae5e6b6916627142d47227a142879c04.zip
Use FFT Accelerator on DEXTER
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 9e9d017..757b01f 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -190,7 +190,16 @@ int DabModulator::process(Buffer* dataOut)
shared_ptr<ModPlugin> cifOfdm;
- if (m_settings.fixedPoint) {
+ if (m_settings.useDexterOutput) {
+ cifOfdm = make_shared<OfdmGeneratorDEXTER>(
+ (1 + m_nbSymbols),
+ m_nbCarriers,
+ m_spacing,
+ m_settings.enableCfr,
+ m_settings.cfrClip,
+ m_settings.cfrErrorClip);
+ }
+ else if (m_settings.fixedPoint) {
cifOfdm = make_shared<OfdmGeneratorFixed>(
(1 + m_nbSymbols),
m_nbCarriers,