mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -05:00
DSP device MIMO engine fixes (1)
This commit is contained in:
parent
239c5974a7
commit
55d33960d5
@ -283,6 +283,10 @@ void DSPDeviceMIMOEngine::workSampleSinkFifos()
|
|||||||
|
|
||||||
while (sampleFifo->dataAvailable())
|
while (sampleFifo->dataAvailable())
|
||||||
{
|
{
|
||||||
|
vPart1Begin.clear();
|
||||||
|
vPart1End.clear();
|
||||||
|
vPart2Begin.clear();
|
||||||
|
vPart2End.clear();
|
||||||
sampleFifo->readSync(vPart1Begin, vPart1End, vPart2Begin, vPart2End);
|
sampleFifo->readSync(vPart1Begin, vPart1End, vPart2Begin, vPart2End);
|
||||||
|
|
||||||
for (unsigned int stream = 0; stream < data.size(); stream++)
|
for (unsigned int stream = 0; stream < data.size(); stream++)
|
||||||
@ -294,7 +298,7 @@ void DSPDeviceMIMOEngine::workSampleSinkFifos()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (vPart2Begin[stream] != vPart2End[stream]) {
|
if (vPart2Begin[stream] != vPart2End[stream]) {
|
||||||
m_vectorBuffer.write(begin + vPart2Begin[stream], begin + vPart2End[stream], false);
|
m_vectorBuffer.write(begin + vPart2Begin[stream], begin + vPart2End[stream]);
|
||||||
}
|
}
|
||||||
|
|
||||||
SampleVector::iterator vbegin, vend;
|
SampleVector::iterator vbegin, vend;
|
||||||
|
Loading…
Reference in New Issue
Block a user