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

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))
{
qDebug() << "LimeSDRInput::handleMessage: MsgGetStreamInfo";
// qDebug() << "LimeSDRInput::handleMessage: MsgGetStreamInfo";
lms_stream_status_t status;
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(
false, // Success
status.active,
@ -360,14 +360,14 @@ bool LimeSDRInput::handleMessage(const Message& message)
}
else
{
qDebug() << "LimeSDRInput::handleMessage: got stream status at: " << status.timestamp
<< " fifoFilledCount: " << status.fifoFilledCount
<< " fifoSize: " << status.fifoSize
<< " underrun: " << status.underrun
<< " overrun: " << status.overrun
<< " droppedPackets: " << status.droppedPackets
<< " sampleRate: " << status.sampleRate
<< " linkRate: " << status.linkRate;
// qDebug() << "LimeSDRInput::handleMessage: got stream status at: " << status.timestamp
// << " fifoFilledCount: " << status.fifoFilledCount
// << " fifoSize: " << status.fifoSize
// << " underrun: " << status.underrun
// << " overrun: " << status.overrun
// << " droppedPackets: " << status.droppedPackets
// << " sampleRate: " << status.sampleRate
// << " linkRate: " << status.linkRate;
MsgReportStreamInfo *report = MsgReportStreamInfo::create(
true, // Success
status.active,

View File

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