From 4949e1fd045d70fc703e1f72946cdfe8e993a3c1 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 27 Oct 2019 08:02:08 +0100 Subject: [PATCH] Tx plugins: corrected FIFO begin iterator vs number of samples read --- .../samplesink/bladerf1output/bladerf1outputthread.cpp | 2 +- .../samplesink/bladerf2output/bladerf2outputthread.cpp | 2 +- plugins/samplesink/hackrfoutput/hackrfoutputthread.cpp | 2 +- plugins/samplesink/limesdroutput/limesdroutputthread.cpp | 2 +- .../samplesink/plutosdroutput/plutosdroutputthread.cpp | 2 +- .../samplesink/soapysdroutput/soapysdroutputthread.cpp | 8 ++++---- plugins/samplesink/xtrxoutput/xtrxoutputthread.cpp | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/plugins/samplesink/bladerf1output/bladerf1outputthread.cpp b/plugins/samplesink/bladerf1output/bladerf1outputthread.cpp index 3fae24c90..d104f8932 100644 --- a/plugins/samplesink/bladerf1output/bladerf1outputthread.cpp +++ b/plugins/samplesink/bladerf1output/bladerf1outputthread.cpp @@ -84,7 +84,7 @@ void Bladerf1OutputThread::callback(qint16* buf, qint32 len) { SampleVector::iterator beginRead; m_sampleFifo->readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(2*(1<readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(2*(1<readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(1<readAdvance(beginRead, len/(1<