1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-18 06:11:46 -05:00

More debug messsages

This commit is contained in:
f4exb 2016-12-25 21:26:37 +01:00
parent 53f6413bd9
commit f5572eebc0

View File

@ -188,6 +188,7 @@ void DSPDeviceSinkEngine::work(int nbWriteSamples)
// multiple channel sources handling // multiple channel sources handling
else if ((m_threadedBasebandSampleSources.size() + m_basebandSampleSources.size()) > 1) else if ((m_threadedBasebandSampleSources.size() + m_basebandSampleSources.size()) > 1)
{ {
qDebug("DSPDeviceSinkEngine::work: multiple channel sources handling");
SampleVector::iterator writeBegin; SampleVector::iterator writeBegin;
sampleFifo->getWriteIterator(writeBegin); sampleFifo->getWriteIterator(writeBegin);
SampleVector::iterator writeAt = 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++) for(BasebandSampleSources::const_iterator it = m_basebandSampleSources.begin(); it != m_basebandSampleSources.end(); it++)
{ {
qDebug() << "DSPDeviceSinkEngine::gotoIdle: stopping " << (*it)->objectName().toStdString().c_str();
(*it)->stop(); (*it)->stop();
} }
for(ThreadedBasebandSampleSources::const_iterator it = m_threadedBasebandSampleSources.begin(); it != m_threadedBasebandSampleSources.end(); it++) 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(); (*it)->stop();
} }