mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-30 05:54:26 -04:00
Device API: removed useless stream index parameter on channel API methods
This commit is contained in:
@@ -224,10 +224,10 @@ void UDPSource::applySettings(const UDPSourceSettings& settings, bool force)
|
||||
{
|
||||
if (m_deviceAPI->getSampleMIMO()) // change of stream is possible for MIMO devices only
|
||||
{
|
||||
m_deviceAPI->removeChannelSourceAPI(this, m_settings.m_streamIndex);
|
||||
m_deviceAPI->removeChannelSourceAPI(this);
|
||||
m_deviceAPI->removeChannelSource(this, m_settings.m_streamIndex);
|
||||
m_deviceAPI->addChannelSource(this, settings.m_streamIndex);
|
||||
m_deviceAPI->addChannelSourceAPI(this, settings.m_streamIndex);
|
||||
m_deviceAPI->addChannelSourceAPI(this);
|
||||
}
|
||||
|
||||
reverseAPIKeys.append("streamIndex");
|
||||
|
||||
Reference in New Issue
Block a user