1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04:00

MIMO: base classes update

This commit is contained in:
f4exb
2019-10-24 18:29:45 +02:00
parent 054298f3e1
commit ec6645b6bb
7 changed files with 27 additions and 16 deletions
+3 -3
View File
@@ -308,7 +308,7 @@ void DSPDeviceMIMOEngine::workSampleSourceFifos()
return;
}
std::vector<SampleVector::const_iterator> vbegin;
std::vector<SampleVector::iterator> vbegin;
vbegin.resize(sampleFifo->getNbStreams());
unsigned int amount = sampleFifo->remainderSync();
@@ -362,7 +362,7 @@ void DSPDeviceMIMOEngine::workSampleSourceFifo(unsigned int streamIndex)
return;
}
SampleVector::const_iterator begin;
SampleVector::iterator begin;
unsigned int amount = sampleFifo->remainderAsync(streamIndex);
while ((amount > 0) && (m_inputMessageQueue.size() == 0))
@@ -413,7 +413,7 @@ void DSPDeviceMIMOEngine::workSamplesSink(const SampleVector::const_iterator& vb
}
}
void DSPDeviceMIMOEngine::workSamplesSource(SampleVector::const_iterator& begin, unsigned int nbSamples, unsigned int streamIndex)
void DSPDeviceMIMOEngine::workSamplesSource(SampleVector::iterator& begin, unsigned int nbSamples, unsigned int streamIndex)
{
if (m_threadedBasebandSampleSources[streamIndex].size() == 0)
{