1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-27 02:09:14 -05:00

Fixed decimator by 64 centered

This commit is contained in:
f4exb 2015-09-12 01:25:20 +02:00
parent 76d52e75fc
commit f97671ae93

View File

@ -401,7 +401,7 @@ void Decimators<T, SdrBits, InputBits>::decimate64_cen(SampleVector::iterator* i
qint32 x5 = x4; qint32 x5 = x4;
qint32 y5 = y4; qint32 y5 = y4;
if (m_decimator64.workDecimateCenter(&x4, &y4)) if (m_decimator64.workDecimateCenter(&x5, &y5))
{ {
(**it).setReal(x5 >> decimation_shifts<SdrBits, InputBits>::post64); (**it).setReal(x5 >> decimation_shifts<SdrBits, InputBits>::post64);
(**it).setImag(y5 >> decimation_shifts<SdrBits, InputBits>::post64); (**it).setImag(y5 >> decimation_shifts<SdrBits, InputBits>::post64);