1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 23:45:00 -04:00

RTLSDR: allow decimation by 32. Bumped to version 2.1.6

This commit is contained in:
f4exb
2016-10-10 02:19:21 +02:00
parent aa45dcbd17
commit 211f0570b5
6 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ void RTLSDRGui::on_centerFrequency_changed(quint64 value)
void RTLSDRGui::on_decim_currentIndexChanged(int index)
{
if ((index <0) || (index > 4))
if ((index <0) || (index > 5))
{
return;
}
+5
View File
@@ -389,6 +389,11 @@
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>32</string>
</property>
</item>
</widget>
</item>
<item row="0" column="4">
+1 -1
View File
@@ -9,7 +9,7 @@
const PluginDescriptor RTLSDRPlugin::m_pluginDescriptor = {
QString("RTL-SDR Input"),
QString("2.1.0"),
QString("2.1.6"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,
@@ -113,6 +113,9 @@ void RTLSDRThread::callback(const quint8* buf, qint32 len)
case 4:
m_decimators.decimate16_inf(&it, buf, len);
break;
case 5:
m_decimators.decimate32_inf(&it, buf, len);
break;
default:
break;
}
@@ -133,6 +136,9 @@ void RTLSDRThread::callback(const quint8* buf, qint32 len)
case 4:
m_decimators.decimate16_sup(&it, buf, len);
break;
case 5:
m_decimators.decimate32_sup(&it, buf, len);
break;
default:
break;
}
@@ -153,6 +159,9 @@ void RTLSDRThread::callback(const quint8* buf, qint32 len)
case 4:
m_decimators.decimate16_cen(&it, buf, len);
break;
case 5:
m_decimators.decimate32_cen(&it, buf, len);
break;
default:
break;
}