1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

SampleSourceFifo refactoring and Tx code reorganization

This commit is contained in:
f4exb
2019-11-15 01:04:24 +01:00
parent 246ff824af
commit 3b74153ec6
198 changed files with 13267 additions and 7750 deletions
+4 -4
View File
@@ -107,23 +107,23 @@ void DeviceAPI::removeChannelSink(ThreadedBasebandSampleSink* sink, int streamIn
}
}
void DeviceAPI::addChannelSource(ThreadedBasebandSampleSource* source, int streamIndex)
void DeviceAPI::addChannelSource(BasebandSampleSource* source, int streamIndex)
{
(void) streamIndex;
if (m_deviceSinkEngine) {
m_deviceSinkEngine->addThreadedSource(source);
m_deviceSinkEngine->addChannelSource(source);
} else if (m_deviceMIMOEngine) {
m_deviceMIMOEngine->addChannelSource(source);
}
}
void DeviceAPI::removeChannelSource(ThreadedBasebandSampleSource* source, int streamIndex)
void DeviceAPI::removeChannelSource(BasebandSampleSource* source, int streamIndex)
{
(void) streamIndex;
if (m_deviceSinkEngine) {
m_deviceSinkEngine->removeThreadedSource(source);
m_deviceSinkEngine->removeChannelSource(source);
} else if (m_deviceMIMOEngine) {
m_deviceMIMOEngine->removeChannelSource(source);
}