1
0
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:
hexameron
2014-12-10 18:24:01 +00:00
parent 554eb96000
commit 4c9dd644b8
2 changed files with 5 additions and 4 deletions
+4 -2
View File
@@ -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;
}