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

MIMO: copied test source as multiple input. Adaptation of main classes

This commit is contained in:
f4exb
2019-05-18 06:30:37 +02:00
parent 1777eab1e3
commit ddde7a925f
55 changed files with 5362 additions and 52 deletions
+4 -4
View File
@@ -43,18 +43,18 @@ void DeviceSampleMIMO::handleInputMessages()
}
}
SampleSourceFifo* DeviceSampleMIMO::getSampleSourceFifo(int index)
SampleSourceFifo* DeviceSampleMIMO::getSampleSourceFifo(unsigned int index)
{
if ((index < 0) || (index >= m_sampleSourceFifos.size())) {
if (index >= m_sampleSourceFifos.size()) {
return nullptr;
} else {
return &m_sampleSourceFifos[index];
}
}
SampleSinkFifo* DeviceSampleMIMO::getSampleSinkFifo(int index)
SampleSinkFifo* DeviceSampleMIMO::getSampleSinkFifo(unsigned int index)
{
if ((index < 0) || (index >= m_sampleSinkFifos.size())) {
if (index >= m_sampleSinkFifos.size()) {
return nullptr;
} else {
return &m_sampleSinkFifos[index];