1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Tx plugins: corrected FIFO begin iterator vs number of samples read

This commit is contained in:
f4exb
2019-10-27 08:02:08 +01:00
parent 31a7a0fdde
commit 4949e1fd04
7 changed files with 11 additions and 11 deletions
@@ -203,7 +203,7 @@ void BladeRF2OutputThread::callbackSO(qint16* buf, qint32 len, unsigned int chan
SampleVector::iterator beginRead;
m_channels[channel].m_sampleFifo->readAdvance(beginRead, len/(1<<m_channels[channel].m_log2Interp));
beginRead -= len;
beginRead -= len/(1<<m_channels[channel].m_log2Interp);
if (m_channels[channel].m_log2Interp == 0)
{