1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

Fixed setting of source of same kind with different sequence number

This commit is contained in:
f4exb
2015-10-03 23:59:02 +02:00
parent f9913c7875
commit 1ac49ce8ce
5 changed files with 17 additions and 10 deletions
+2 -1
View File
@@ -308,12 +308,13 @@ int PluginManager::selectSampleSourceByIndex(int index)
m_sampleSourceSerial = m_sampleSourceDevices[index].m_sourceSerial;
m_sampleSourceSequence = m_sampleSourceDevices[index].m_sourceSequence;
qDebug() << "PluginManager::selectSampleSource by index: m_sampleSource at index " << index
qDebug() << "PluginManager::selectSampleSourceByIndex: m_sampleSource at index " << index
<< " id: " << m_sampleSourceId.toStdString().c_str()
<< " ser: " << m_sampleSourceSerial.toStdString().c_str()
<< " seq: " << m_sampleSourceSequence;
m_sampleSourcePluginGUI = m_sampleSourceDevices[index].m_plugin->createSampleSourcePluginGUI(m_sampleSourceId);
m_dspEngine->setSourceSequence(m_sampleSourceSequence);
return index;
}