From 313dea2bba494c23758206de0f9da75792d48af5 Mon Sep 17 00:00:00 2001 From: srcejon Date: Sun, 22 Sep 2024 12:20:43 +0100 Subject: [PATCH] Add additional type rsion. --- sdrbase/dsp/replaybuffer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdrbase/dsp/replaybuffer.h b/sdrbase/dsp/replaybuffer.h index bacc96663..f7dd2e4ed 100644 --- a/sdrbase/dsp/replaybuffer.h +++ b/sdrbase/dsp/replaybuffer.h @@ -209,6 +209,11 @@ private: return data; } + qint16 conv(FixReal data) const + { + return data; // FIXME: + } + qint16 conv(float data) const { return (qint16)(data * SDR_RX_SCALEF);