mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 08:28:36 -05:00
LimeSDR input: removed stream status debug messages
This commit is contained in:
parent
80acb46b0d
commit
edfcb36dab
@ -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,
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user