1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Device MIMO engine: feed data to spectrum sink for MO display

This commit is contained in:
f4exb 2019-10-21 00:58:15 +02:00
parent cf52553304
commit 4aa4f829c6

View File

@ -455,6 +455,11 @@ void DSPDeviceMIMOEngine::workSamplesSource(SampleVector::const_iterator& begin,
begin = m_sourceSampleBuffers[streamIndex].m_vector.begin();
}
// possibly feed data to spectrum sink
if ((m_spectrumSink) && (!m_spectrumInputSourceElseSink) && (streamIndex == m_spectrumInputIndex)) {
m_spectrumSink->feed(begin, begin + nbSamples, false);
}
}
// notStarted -> idle -> init -> running -+