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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user