mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-06 16:05:13 -04:00
more debug messages
This commit is contained in:
@@ -291,21 +291,28 @@ DSPEngine::State DSPEngine::gotoRunning()
|
||||
break;
|
||||
}
|
||||
|
||||
if(m_sampleSource == NULL)
|
||||
if(m_sampleSource == NULL) {
|
||||
return gotoError("No sample source configured");
|
||||
}
|
||||
|
||||
m_iOffset = 0;
|
||||
m_qOffset = 0;
|
||||
m_iRange = 1 << 16;
|
||||
m_qRange = 1 << 16;
|
||||
|
||||
if(!m_sampleSource->startInput(0))
|
||||
if(!m_sampleSource->startInput(0)) {
|
||||
return gotoError("Could not start sample source");
|
||||
}
|
||||
|
||||
m_deviceDescription = m_sampleSource->getDeviceDescription();
|
||||
qDebug() << "DSPEngine::gotoRunning: " << m_deviceDescription.toStdString().c_str() << " started";
|
||||
|
||||
m_audioOutput.start(0, 48000);
|
||||
for(SampleSinks::const_iterator it = m_sampleSinks.begin(); it != m_sampleSinks.end(); it++)
|
||||
|
||||
for(SampleSinks::const_iterator it = m_sampleSinks.begin(); it != m_sampleSinks.end(); it++) {
|
||||
(*it)->start();
|
||||
}
|
||||
|
||||
m_sampleRate = 0; // make sure, report is sent
|
||||
generateReport();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user