From 1d83a2b247f8e83bbce802a272ffa165bbc6333f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 8 Oct 2024 15:25:45 +0200 Subject: Get fixed_point working with USRP --- src/DabModulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DabModulator.cpp') 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(m_format); } -- cgit v1.2.3