1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Deep redesign: fixed decimation bit shifts and halfband filter decimation bit loss

This commit is contained in:
f4exb
2015-09-02 00:12:00 +02:00
parent b3fd6bad15
commit a559035e22
9 changed files with 198 additions and 308 deletions
+4 -4
View File
@@ -91,16 +91,16 @@ void RTLSDRThread::callback(const quint8* buf, qint32 len)
m_decimators.decimate1(&it, buf, len);
break;
case 1:
m_decimators.decimate2(&it, buf, len);
m_decimators.decimate2_inf(&it, buf, len);
break;
case 2:
m_decimators.decimate4(&it, buf, len);
m_decimators.decimate4_inf(&it, buf, len);
break;
case 3:
m_decimators.decimate8(&it, buf, len);
m_decimators.decimate8_inf(&it, buf, len);
break;
case 4:
m_decimators.decimate16(&it, buf, len);
m_decimators.decimate16_inf(&it, buf, len);
break;
default:
break;