From f5572eebc0136c352ab3585ade70ee3278d50861 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 25 Dec 2016 21:26:37 +0100 Subject: [PATCH] More debug messsages --- sdrbase/dsp/dspdevicesinkengine.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdrbase/dsp/dspdevicesinkengine.cpp b/sdrbase/dsp/dspdevicesinkengine.cpp index a8ba9d278..a9abc40be 100644 --- a/sdrbase/dsp/dspdevicesinkengine.cpp +++ b/sdrbase/dsp/dspdevicesinkengine.cpp @@ -188,6 +188,7 @@ void DSPDeviceSinkEngine::work(int nbWriteSamples) // multiple channel sources handling else if ((m_threadedBasebandSampleSources.size() + m_basebandSampleSources.size()) > 1) { + qDebug("DSPDeviceSinkEngine::work: multiple channel sources handling"); SampleVector::iterator writeBegin; sampleFifo->getWriteIterator(writeBegin); SampleVector::iterator writeAt = writeBegin; @@ -268,11 +269,13 @@ DSPDeviceSinkEngine::State DSPDeviceSinkEngine::gotoIdle() for(BasebandSampleSources::const_iterator it = m_basebandSampleSources.begin(); it != m_basebandSampleSources.end(); it++) { + qDebug() << "DSPDeviceSinkEngine::gotoIdle: stopping " << (*it)->objectName().toStdString().c_str(); (*it)->stop(); } for(ThreadedBasebandSampleSources::const_iterator it = m_threadedBasebandSampleSources.begin(); it != m_threadedBasebandSampleSources.end(); it++) { + qDebug() << "DSPDeviceSinkEngine::gotoIdle: stopping ThreadedSampleSource(" << (*it)->getSampleSourceObjectName().toStdString().c_str() << ")"; (*it)->stop(); }