mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-11 02:08:46 -04:00
Settings before streaming.
This commit is contained in:
@@ -80,6 +80,10 @@ bool FCDInput::startInput(int device)
|
||||
|
||||
if(m_FCDThread)
|
||||
return false;
|
||||
/* Apply settings before streaming to avoid bus contention;
|
||||
* there is very little spare bandwidth on a full speed USB device.
|
||||
* Failure is harmless if no device is found */
|
||||
applySettings(m_generalSettings, m_settings, true);
|
||||
|
||||
if(!m_sampleFifo.setSize(4096*16)) {
|
||||
qCritical("Could not allocate SampleFifo");
|
||||
@@ -93,8 +97,6 @@ bool FCDInput::startInput(int device)
|
||||
|
||||
m_deviceDescription = QString("Funcube Dongle");
|
||||
|
||||
applySettings(m_generalSettings, m_settings, true);
|
||||
|
||||
qDebug("FCDInput: start");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user