1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Airspy: dynamic rate support in Windows and more debug messages

This commit is contained in:
f4exb 2016-10-06 20:59:23 +02:00
parent 36aeaa3ea5
commit f008250ffa
2 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,8 @@ INCLUDEPATH += $$PWD
INCLUDEPATH += ../../../sdrbase
INCLUDEPATH += $$LIBAIRSPYSRC
DEFINES += LIBAIRSPY_DYN_RATES
CONFIG(Release):build_subdir = release
CONFIG(Debug):build_subdir = debug

View File

@ -94,6 +94,10 @@ bool AirspyInput::start(int device)
qCritical("AirspyInput::start: could not obtain Airspy sample rates");
return false;
}
else
{
qDebug("AirspyInput::start: %d sample rates", nbSampleRates);
}
m_sampleRates.clear();
@ -105,6 +109,7 @@ bool AirspyInput::start(int device)
delete[] sampleRates;
#else
qDebug("AirspyInput::start: detault rates");
m_sampleRates.clear();
m_sampleRates.push_back(10000000);
m_sampleRates.push_back(2500000);