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:
parent
36aeaa3ea5
commit
f008250ffa
@ -17,6 +17,8 @@ INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += ../../../sdrbase
|
||||
INCLUDEPATH += $$LIBAIRSPYSRC
|
||||
|
||||
DEFINES += LIBAIRSPY_DYN_RATES
|
||||
|
||||
CONFIG(Release):build_subdir = release
|
||||
CONFIG(Debug):build_subdir = debug
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user