mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
Use FixReal in place of qint16
This commit is contained in:
parent
07b4b013a9
commit
5a594629b3
@ -178,7 +178,7 @@ void DSPDeviceSourceEngine::dcOffset(SampleVector::iterator begin, SampleVector:
|
|||||||
double count;
|
double count;
|
||||||
int io = 0;
|
int io = 0;
|
||||||
int qo = 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
|
// sum and correct in one pass
|
||||||
for(SampleVector::iterator it = begin; it < end; it++)
|
for(SampleVector::iterator it = begin; it < end; it++)
|
||||||
|
Loading…
Reference in New Issue
Block a user