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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user