1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

MIMO: updates to base code

This commit is contained in:
f4exb
2019-11-17 01:56:54 +01:00
parent 19da4eae76
commit fba885c609
6 changed files with 63 additions and 67 deletions
+2 -6
View File
@@ -109,23 +109,19 @@ void DeviceAPI::removeChannelSink(ThreadedBasebandSampleSink* sink, int streamIn
void DeviceAPI::addChannelSource(BasebandSampleSource* source, int streamIndex)
{
(void) streamIndex;
if (m_deviceSinkEngine) {
m_deviceSinkEngine->addChannelSource(source);
} else if (m_deviceMIMOEngine) {
m_deviceMIMOEngine->addChannelSource(source);
m_deviceMIMOEngine->addChannelSource(source, streamIndex);
}
}
void DeviceAPI::removeChannelSource(BasebandSampleSource* source, int streamIndex)
{
(void) streamIndex;
if (m_deviceSinkEngine) {
m_deviceSinkEngine->removeChannelSource(source);
} else if (m_deviceMIMOEngine) {
m_deviceMIMOEngine->removeChannelSource(source);
m_deviceMIMOEngine->removeChannelSource(source, streamIndex);
}
}