mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
more debug messages
This commit is contained in:
parent
058fcdc4e1
commit
85897281ee
@ -166,11 +166,12 @@ bool BladerfInput::startInput(int device)
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_bladerfThread->startWork();
|
m_bladerfThread->startWork();
|
||||||
|
m_deviceDescription = "BladeRF";
|
||||||
|
|
||||||
mutexLocker.unlock();
|
mutexLocker.unlock();
|
||||||
applySettings(m_generalSettings, m_settings, true);
|
applySettings(m_generalSettings, m_settings, true);
|
||||||
|
|
||||||
qDebug("bladerfInput: start");
|
qDebug("BladerfInput::startInput: started");
|
||||||
//MsgReportBladerf::create(m_gains)->submit(m_guiMessageQueue); Pass anything here
|
//MsgReportBladerf::create(m_gains)->submit(m_guiMessageQueue); Pass anything here
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -138,9 +138,11 @@ bool FileSourceInput::startInput(int device)
|
|||||||
m_fileSourceThread->setSamplerate(m_sampleRate);
|
m_fileSourceThread->setSamplerate(m_sampleRate);
|
||||||
m_fileSourceThread->connectTimer(m_masterTimer);
|
m_fileSourceThread->connectTimer(m_masterTimer);
|
||||||
m_fileSourceThread->startWork();
|
m_fileSourceThread->startWork();
|
||||||
|
m_deviceDescription = "FileSource";
|
||||||
|
|
||||||
mutexLocker.unlock();
|
mutexLocker.unlock();
|
||||||
//applySettings(m_generalSettings, m_settings, true);
|
//applySettings(m_generalSettings, m_settings, true);
|
||||||
|
qDebug("FileSourceInput::startInput: started");
|
||||||
|
|
||||||
MsgReportFileSourceAcquisition::create(true)->submit(m_guiMessageQueue); // acquisition on
|
MsgReportFileSourceAcquisition::create(true)->submit(m_guiMessageQueue); // acquisition on
|
||||||
|
|
||||||
|
@ -291,21 +291,28 @@ DSPEngine::State DSPEngine::gotoRunning()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_sampleSource == NULL)
|
if(m_sampleSource == NULL) {
|
||||||
return gotoError("No sample source configured");
|
return gotoError("No sample source configured");
|
||||||
|
}
|
||||||
|
|
||||||
m_iOffset = 0;
|
m_iOffset = 0;
|
||||||
m_qOffset = 0;
|
m_qOffset = 0;
|
||||||
m_iRange = 1 << 16;
|
m_iRange = 1 << 16;
|
||||||
m_qRange = 1 << 16;
|
m_qRange = 1 << 16;
|
||||||
|
|
||||||
if(!m_sampleSource->startInput(0))
|
if(!m_sampleSource->startInput(0)) {
|
||||||
return gotoError("Could not start sample source");
|
return gotoError("Could not start sample source");
|
||||||
|
}
|
||||||
|
|
||||||
m_deviceDescription = m_sampleSource->getDeviceDescription();
|
m_deviceDescription = m_sampleSource->getDeviceDescription();
|
||||||
|
qDebug() << "DSPEngine::gotoRunning: " << m_deviceDescription.toStdString().c_str() << " started";
|
||||||
|
|
||||||
m_audioOutput.start(0, 48000);
|
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();
|
(*it)->start();
|
||||||
|
}
|
||||||
|
|
||||||
m_sampleRate = 0; // make sure, report is sent
|
m_sampleRate = 0; // make sure, report is sent
|
||||||
generateReport();
|
generateReport();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user