1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

SDRdaemon debug. Frequency now in kHz in the meta data

This commit is contained in:
f4exb
2016-02-14 20:01:46 +01:00
parent 4dfc4701e5
commit 42b52a2d2c
8 changed files with 68 additions and 25 deletions
@@ -73,7 +73,7 @@ MESSAGE_CLASS_DEFINITION(SDRdaemonInput::MsgReportSDRdaemonStreamTiming, Message
SDRdaemonInput::SDRdaemonInput(const QTimer& masterTimer) :
m_address("127.0.0.1"),
m_port(9090),
m_SDRdaemonThread(NULL),
m_SDRdaemonThread(0),
m_deviceDescription(),
m_sampleRate(0),
m_centerFrequency(0),
@@ -97,12 +97,12 @@ bool SDRdaemonInput::start(int device)
QMutexLocker mutexLocker(&m_mutex);
qDebug() << "SDRdaemonInput::startInput";
if(!m_sampleFifo.setSize(96000 * 4)) {
if (!m_sampleFifo.setSize(96000 * 4)) {
qCritical("Could not allocate SampleFifo");
return false;
}
if((m_SDRdaemonThread = new SDRdaemonThread(&m_sampleFifo)) == NULL) {
if ((m_SDRdaemonThread = new SDRdaemonThread(&m_sampleFifo, getOutputMessageQueueToGUI())) == NULL) {
qFatal("out of memory");
stop();
return false;