From 5a594629b350873e043709d648c06c3a065f868c Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 21 Jan 2018 01:19:35 +0100 Subject: [PATCH] Use FixReal in place of qint16 --- sdrbase/dsp/dspdevicesourceengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrbase/dsp/dspdevicesourceengine.cpp b/sdrbase/dsp/dspdevicesourceengine.cpp index a641de94e..6cc6086c6 100644 --- a/sdrbase/dsp/dspdevicesourceengine.cpp +++ b/sdrbase/dsp/dspdevicesourceengine.cpp @@ -178,7 +178,7 @@ void DSPDeviceSourceEngine::dcOffset(SampleVector::iterator begin, SampleVector: double count; int io = 0; int qo = 0; - Sample corr((qint16)m_iOffset, (qint16)m_qOffset); + Sample corr((FixReal)m_iOffset, (FixReal)m_qOffset); // sum and correct in one pass for(SampleVector::iterator it = begin; it < end; it++)