LimeSDR input: removed stream status debug messages

This commit is contained in:
f4exb 2017-04-20 00:48:00 +02:00
parent 80acb46b0d
commit edfcb36dab
2 changed files with 12 additions and 12 deletions

View File

@ -339,12 +339,12 @@ bool LimeSDRInput::handleMessage(const Message& message)
} }
else if (MsgGetStreamInfo::match(message)) else if (MsgGetStreamInfo::match(message))
{ {
qDebug() << "LimeSDRInput::handleMessage: MsgGetStreamInfo"; // qDebug() << "LimeSDRInput::handleMessage: MsgGetStreamInfo";
lms_stream_status_t status; lms_stream_status_t status;
if (LMS_GetStreamStatus(&m_streamId, &status) < 0) if (LMS_GetStreamStatus(&m_streamId, &status) < 0)
{ {
qDebug("LimeSDRInput::handleMessage: canot get stream status"); // qDebug("LimeSDRInput::handleMessage: canot get stream status");
MsgReportStreamInfo *report = MsgReportStreamInfo::create( MsgReportStreamInfo *report = MsgReportStreamInfo::create(
false, // Success false, // Success
status.active, status.active,
@ -360,14 +360,14 @@ bool LimeSDRInput::handleMessage(const Message& message)
} }
else else
{ {
qDebug() << "LimeSDRInput::handleMessage: got stream status at: " << status.timestamp // qDebug() << "LimeSDRInput::handleMessage: got stream status at: " << status.timestamp
<< " fifoFilledCount: " << status.fifoFilledCount // << " fifoFilledCount: " << status.fifoFilledCount
<< " fifoSize: " << status.fifoSize // << " fifoSize: " << status.fifoSize
<< " underrun: " << status.underrun // << " underrun: " << status.underrun
<< " overrun: " << status.overrun // << " overrun: " << status.overrun
<< " droppedPackets: " << status.droppedPackets // << " droppedPackets: " << status.droppedPackets
<< " sampleRate: " << status.sampleRate // << " sampleRate: " << status.sampleRate
<< " linkRate: " << status.linkRate; // << " linkRate: " << status.linkRate;
MsgReportStreamInfo *report = MsgReportStreamInfo::create( MsgReportStreamInfo *report = MsgReportStreamInfo::create(
true, // Success true, // Success
status.active, status.active,

View File

@ -150,10 +150,9 @@ void LimeSDRInputGUI::handleMessagesToGUI()
while ((message = m_deviceAPI->getDeviceOutputMessageQueue()->pop()) != 0) while ((message = m_deviceAPI->getDeviceOutputMessageQueue()->pop()) != 0)
{ {
qDebug("LimeSDRInputGUI::handleMessagesToGUI: message: %s", message->getIdentifier());
if (DSPSignalNotification::match(*message)) if (DSPSignalNotification::match(*message))
{ {
qDebug("LimeSDRInputGUI::handleMessagesToGUI: message: %s", message->getIdentifier());
DSPSignalNotification* notif = (DSPSignalNotification*) message; DSPSignalNotification* notif = (DSPSignalNotification*) message;
m_sampleRate = notif->getSampleRate(); m_sampleRate = notif->getSampleRate();
m_deviceCenterFrequency = notif->getCenterFrequency(); m_deviceCenterFrequency = notif->getCenterFrequency();
@ -165,6 +164,7 @@ void LimeSDRInputGUI::handleMessagesToGUI()
} }
else if (LimeSDRInput::MsgReportLimeSDRToGUI::match(*message)) else if (LimeSDRInput::MsgReportLimeSDRToGUI::match(*message))
{ {
qDebug("LimeSDRInputGUI::handleMessagesToGUI: message: %s", message->getIdentifier());
LimeSDRInput::MsgReportLimeSDRToGUI *report = (LimeSDRInput::MsgReportLimeSDRToGUI *) message; LimeSDRInput::MsgReportLimeSDRToGUI *report = (LimeSDRInput::MsgReportLimeSDRToGUI *) message;
m_settings.m_centerFrequency = report->getCenterFrequency(); m_settings.m_centerFrequency = report->getCenterFrequency();