aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-08 15:25:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-08 15:25:45 +0200
commit1d83a2b247f8e83bbce802a272ffa165bbc6333f (patch)
tree116a24ec03eabfef4bd2dd73efeb97ecaad57d67 /src/DabModulator.cpp
parent8736f6160aeafe7a177cb6143fea80157e174e52 (diff)
downloaddabmod-1d83a2b247f8e83bbce802a272ffa165bbc6333f.tar.gz
dabmod-1d83a2b247f8e83bbce802a272ffa165bbc6333f.tar.bz2
dabmod-1d83a2b247f8e83bbce802a272ffa165bbc6333f.zip
Get fixed_point working with USRP
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index d48f1a2..9e9d017 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -258,8 +258,8 @@ int DabModulator::process(Buffer* dataOut)
}
if (not m_format.empty()) {
- if (m_settings.fixedPoint) throw std::runtime_error("fixed point doesn't support format converter");
-
+ // This handles both complexf and fixedpoint:
+ // Convert from complexfix to interleaved int16_t I/Q
m_formatConverter = make_shared<FormatConverter>(m_format);
}