1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 06:54:39 -04:00

Device API: removed useless stream index parameter on channel API methods

This commit is contained in:
f4exb
2019-12-23 23:41:35 +01:00
parent a0830f8ba2
commit 6855602a7f
23 changed files with 52 additions and 58 deletions
@@ -180,10 +180,10 @@ void RemoteSource::applySettings(const RemoteSourceSettings& settings, bool forc
{
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");