1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 23:45:00 -04:00

Test Sink fixes

This commit is contained in:
f4exb
2019-10-25 18:24:03 +02:00
parent d63f1a3ed5
commit 8412260d5a
4 changed files with 3 additions and 13 deletions
+2 -3
View File
@@ -139,7 +139,7 @@ bool TestSinkGui::handleMessage(const Message& message)
else if (TestSinkOutput::MsgStartStop::match(message))
{
TestSinkOutput::MsgStartStop& notif = (TestSinkOutput::MsgStartStop&) message;
qDebug("TestSinkOutput::handleMessage: message: MsgStartStop: %s", notif.getStartStop() ? "start" : "stop");
qDebug("TestSinkGui::handleMessage: message: MsgStartStop: %s", notif.getStartStop() ? "start" : "stop");
blockApplySettings(true);
ui->startStop->setChecked(notif.getStartStop());
blockApplySettings(false);
@@ -161,7 +161,7 @@ void TestSinkGui::handleInputMessages()
if (DSPSignalNotification::match(*message))
{
DSPSignalNotification* notif = (DSPSignalNotification*) message;
qDebug("FileSinkGui::handleInputMessages: DSPSignalNotification: SampleRate:%d, CenterFrequency:%llu", notif->getSampleRate(), notif->getCenterFrequency());
qDebug("TestSinkGui::handleInputMessages: DSPSignalNotification: SampleRate:%d, CenterFrequency:%llu", notif->getSampleRate(), notif->getCenterFrequency());
m_sampleRate = notif->getSampleRate();
m_deviceCenterFrequency = notif->getCenterFrequency();
updateSampleRateAndFrequency();
@@ -198,7 +198,6 @@ void TestSinkGui::sendSettings()
}
}
void TestSinkGui::updateHardware()
{
qDebug() << "TestSinkGui::updateHardware";