1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-12 10:48:42 -04:00

Deep redesign: phase #4. Compiles

This commit is contained in:
f4exb
2015-08-17 08:29:34 +02:00
parent b5f2475fbf
commit a6a7145f3d
77 changed files with 1816 additions and 1429 deletions
+3 -3
View File
@@ -325,9 +325,9 @@ void MainWindow::handleDSPMessages()
std::cerr << "MainWindow::handleDSPMessages: " << message->getIdentifier() << std::endl;
if (DSPEngineReport::match(message))
if (DSPEngineReport::match(*message))
{
DSPEngineReport* rep = (DSPEngineReport*)message;
DSPEngineReport* rep = (DSPEngineReport*) message;
m_sampleRate = rep->getSampleRate();
m_centerFrequency = rep->getCenterFrequency();
qDebug("SampleRate:%d, CenterFrequency:%llu", rep->getSampleRate(), rep->getCenterFrequency());
@@ -350,7 +350,7 @@ void MainWindow::handleMessages()
qDebug("Message: %s", message->getIdentifier());
std::cerr << "MainWindow::handleMessages: " << message->getIdentifier() << std::endl;
if (!m_pluginManager->handleMessage(message))
if (!m_pluginManager->handleMessage(*message))
{
delete message;
}