DSP device MIMO engine fixes (1)

pull/426/head
f4exb 2019-09-26 07:51:41 +02:00
rodzic 239c5974a7
commit 55d33960d5
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -283,6 +283,10 @@ void DSPDeviceMIMOEngine::workSampleSinkFifos()
while (sampleFifo->dataAvailable())
{
vPart1Begin.clear();
vPart1End.clear();
vPart2Begin.clear();
vPart2End.clear();
sampleFifo->readSync(vPart1Begin, vPart1End, vPart2Begin, vPart2End);
for (unsigned int stream = 0; stream < data.size(); stream++)
@ -294,7 +298,7 @@ void DSPDeviceMIMOEngine::workSampleSinkFifos()
}
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;