Bumped to v3.14.0 and allow decimation by 64 on all input plugins (missing yet: BladeRF and RTLSDR)

This commit is contained in:
f4exb 2018-03-27 11:32:39 +02:00
parent 4fbb8f74c8
commit 4d324875b9
17 changed files with 51 additions and 35 deletions

View File

@ -35,7 +35,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
*/ */
QCoreApplication::setOrganizationName("f4exb"); QCoreApplication::setOrganizationName("f4exb");
QCoreApplication::setApplicationName("SDRangel"); QCoreApplication::setApplicationName("SDRangel");
QCoreApplication::setApplicationVersion("3.13.1"); QCoreApplication::setApplicationVersion("3.14.0");
#if 1 #if 1
qApp->setStyle(QStyleFactory::create("fusion")); qApp->setStyle(QStyleFactory::create("fusion"));

View File

@ -56,7 +56,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
QCoreApplication::setOrganizationName("f4exb"); QCoreApplication::setOrganizationName("f4exb");
QCoreApplication::setApplicationName("SDRangelSrv"); QCoreApplication::setApplicationName("SDRangelSrv");
QCoreApplication::setApplicationVersion("3.13.1"); QCoreApplication::setApplicationVersion("3.14.0");
int catchSignals[] = {SIGQUIT, SIGINT, SIGTERM, SIGHUP}; int catchSignals[] = {SIGQUIT, SIGINT, SIGTERM, SIGHUP};
std::vector<int> vsig(catchSignals, catchSignals + sizeof(catchSignals) / sizeof(int)); std::vector<int> vsig(catchSignals, catchSignals + sizeof(catchSignals) / sizeof(int));

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
sdrangel (3.14.0-1) unstable; urgency=medium
* New audio devices management
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Sun, 1 Apr 2018 06:14:18 +0100
sdrangel (3.13.1-1) unstable; urgency=medium sdrangel (3.13.1-1) unstable; urgency=medium
* Web API: settings and report enry points for AM demod and AirspyHF * Web API: settings and report enry points for AM demod and AirspyHF

View File

@ -8,7 +8,7 @@
const PluginDescriptor AMDemodPlugin::m_pluginDescriptor = { const PluginDescriptor AMDemodPlugin::m_pluginDescriptor = {
QString("AM Demodulator"), QString("AM Demodulator"),
QString("3.13.1"), QString("3.14.0"),
QString("(c) Edouard Griffiths, F4EXB"), QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"), QString("https://github.com/f4exb/sdrangel"),
true, true,

View File

@ -8,7 +8,7 @@
const PluginDescriptor SSBPlugin::m_pluginDescriptor = { const PluginDescriptor SSBPlugin::m_pluginDescriptor = {
QString("SSB Demodulator"), QString("SSB Demodulator"),
QString("3.12.0"), QString("3.14.0"),
QString("(c) Edouard Griffiths, F4EXB"), QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"), QString("https://github.com/f4exb/sdrangel"),
true, true,

View File

@ -27,7 +27,7 @@
const PluginDescriptor AirspyHFPlugin::m_pluginDescriptor = { const PluginDescriptor AirspyHFPlugin::m_pluginDescriptor = {
QString("AirspyHF Input"), QString("AirspyHF Input"),
QString("3.13.1"), QString("3.14.0"),
QString("(c) Edouard Griffiths, F4EXB"), QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"), QString("https://github.com/f4exb/sdrangel"),
true, true,

View File

@ -62,7 +62,7 @@ Use this combo box to select the HF or VHF range. This will set the limits of th
- HF: 9 kHz to 31 MHz - HF: 9 kHz to 31 MHz
- VHF: 60 to 260 MHz - VHF: 60 to 260 MHz
<h3>5: Device to hast sample rate</h3> <h3>5: Device to host sample rate</h3>
This is the device to host sample rate in kilo samples per second (kS/s). This is the device to host sample rate in kilo samples per second (kS/s).
@ -70,7 +70,7 @@ Although the combo box is there to present a choice of sample rates at present t
<h3>6: Decimation factor</h3> <h3>6: Decimation factor</h3>
The I/Q stream from the AirspyHF to host is downsampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32, 64. When using audio channel plugins (AM, DSD, NFM, SSB...) please make sure that the sample rate is not less than 48 kHz (no decimation by 32 or 64). The I/Q stream from the AirspyHF to host is downsampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32, 64. When using audio channel plugins (AM, DSD, NFM, SSB...) please make sure that the sample rate is not less than the audio sample rate.
<h3>7: Transverter mode open dialog</h3> <h3>7: Transverter mode open dialog</h3>

View File

@ -254,7 +254,7 @@ void BladerfInputGui::on_bandwidth_currentIndexChanged(int index)
void BladerfInputGui::on_decim_currentIndexChanged(int index) void BladerfInputGui::on_decim_currentIndexChanged(int index)
{ {
if ((index <0) || (index > 5)) if ((index <0) || (index > 6))
return; return;
m_settings.m_log2Decim = index; m_settings.m_log2Decim = index;
sendSettings(); sendSettings();

View File

@ -35,16 +35,7 @@
<property name="spacing"> <property name="spacing">
<number>3</number> <number>3</number>
</property> </property>
<property name="leftMargin"> <property name="margin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number> <number>2</number>
</property> </property>
<item> <item>
@ -234,7 +225,7 @@
<property name="toolTip"> <property name="toolTip">
<string>XB200 board mode</string> <string>XB200 board mode</string>
</property> </property>
<property name="currentText"> <property name="currentText" stdset="0">
<string>None</string> <string>None</string>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
@ -379,7 +370,7 @@
<string>Decimation factor</string> <string>Decimation factor</string>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>3</number> <number>0</number>
</property> </property>
<item> <item>
<property name="text"> <property name="text">
@ -411,6 +402,11 @@
<string>32</string> <string>32</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>64</string>
</property>
</item>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@ -27,7 +27,7 @@
const PluginDescriptor BlderfInputPlugin::m_pluginDescriptor = { const PluginDescriptor BlderfInputPlugin::m_pluginDescriptor = {
QString("BladeRF Input"), QString("BladeRF Input"),
QString("3.11.0"), QString("3.14.0"),
QString("(c) Edouard Griffiths, F4EXB"), QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"), QString("https://github.com/f4exb/sdrangel"),
true, true,

View File

@ -114,6 +114,9 @@ void BladerfInputThread::callback(const qint16* buf, qint32 len)
case 5: case 5:
m_decimators.decimate32_inf(&it, buf, len); m_decimators.decimate32_inf(&it, buf, len);
break; break;
case 6:
m_decimators.decimate64_inf(&it, buf, len);
break;
default: default:
break; break;
} }
@ -137,6 +140,9 @@ void BladerfInputThread::callback(const qint16* buf, qint32 len)
case 5: case 5:
m_decimators.decimate32_sup(&it, buf, len); m_decimators.decimate32_sup(&it, buf, len);
break; break;
case 6:
m_decimators.decimate64_sup(&it, buf, len);
break;
default: default:
break; break;
} }
@ -160,6 +166,9 @@ void BladerfInputThread::callback(const qint16* buf, qint32 len)
case 5: case 5:
m_decimators.decimate32_cen(&it, buf, len); m_decimators.decimate32_cen(&it, buf, len);
break; break;
case 6:
m_decimators.decimate64_cen(&it, buf, len);
break;
default: default:
break; break;
} }

View File

@ -66,7 +66,7 @@ Use the wheels to adjust the sample rate. Left click on a digit sets the cursor
<h3>5: Decimation factor</h3> <h3>5: Decimation factor</h3>
The I/Q stream from the BladeRF ADC is doensampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32. The I/Q stream from the BladeRF ADC is doensampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32, 64.
<h3>6: Baseband center frequency position relative the the BladeRF Rx center frequency</h3> <h3>6: Baseband center frequency position relative the the BladeRF Rx center frequency</h3>

View File

@ -100,7 +100,7 @@ Use the wheels to adjust the sample rate. Left click on a digit sets the cursor
<h3>7: Decimation factor</h3> <h3>7: Decimation factor</h3>
The I/Q stream from the RTLSDR ADC is doensampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32. The I/Q stream from the RTLSDR ADC is doensampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32, 64.
<h3>8: Direct sampling mode</h3> <h3>8: Direct sampling mode</h3>

View File

@ -277,7 +277,7 @@ void RTLSDRGui::on_centerFrequency_changed(quint64 value)
void RTLSDRGui::on_decim_currentIndexChanged(int index) void RTLSDRGui::on_decim_currentIndexChanged(int index)
{ {
if ((index <0) || (index > 5)) if ((index <0) || (index > 6))
{ {
return; return;
} }

View File

@ -35,16 +35,7 @@
<property name="spacing"> <property name="spacing">
<number>3</number> <number>3</number>
</property> </property>
<property name="leftMargin"> <property name="margin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number> <number>2</number>
</property> </property>
<item> <item>
@ -459,6 +450,11 @@
<string>32</string> <string>32</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>64</string>
</property>
</item>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@ -14,7 +14,7 @@
const PluginDescriptor RTLSDRPlugin::m_pluginDescriptor = { const PluginDescriptor RTLSDRPlugin::m_pluginDescriptor = {
QString("RTL-SDR Input"), QString("RTL-SDR Input"),
QString("3.13.1"), QString("3.14.0"),
QString("(c) Edouard Griffiths, F4EXB"), QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"), QString("https://github.com/f4exb/sdrangel"),
true, true,

View File

@ -116,6 +116,9 @@ void RTLSDRThread::callback(const quint8* buf, qint32 len)
break; break;
case 5: case 5:
m_decimators.decimate32_inf(&it, buf, len); m_decimators.decimate32_inf(&it, buf, len);
break;
case 6:
m_decimators.decimate64_inf(&it, buf, len);
break; break;
default: default:
break; break;
@ -139,6 +142,9 @@ void RTLSDRThread::callback(const quint8* buf, qint32 len)
break; break;
case 5: case 5:
m_decimators.decimate32_sup(&it, buf, len); m_decimators.decimate32_sup(&it, buf, len);
break;
case 6:
m_decimators.decimate64_sup(&it, buf, len);
break; break;
default: default:
break; break;
@ -162,6 +168,9 @@ void RTLSDRThread::callback(const quint8* buf, qint32 len)
break; break;
case 5: case 5:
m_decimators.decimate32_cen(&it, buf, len); m_decimators.decimate32_cen(&it, buf, len);
break;
case 6:
m_decimators.decimate64_cen(&it, buf, len);
break; break;
default: default:
break; break;