mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Source plugins: put a serializer and deserializer in the core plugin for server. NFM demod: fixed deserializer
This commit is contained in:
@@ -137,7 +137,16 @@ bool SDRPlayGui::deserialize(const QByteArray& data)
|
||||
|
||||
bool SDRPlayGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (SDRPlayInput::MsgReportSDRPlayGains::match(message))
|
||||
if (SDRPlayInput::MsgConfigureSDRPlay::match(message))
|
||||
{
|
||||
const SDRPlayInput::MsgConfigureSDRPlay& cfg = (SDRPlayInput::MsgConfigureSDRPlay&) message;
|
||||
m_settings = cfg.getSettings();
|
||||
blockApplySettings(true);
|
||||
displaySettings();
|
||||
blockApplySettings(false);
|
||||
return true;
|
||||
}
|
||||
else if (SDRPlayInput::MsgReportSDRPlayGains::match(message))
|
||||
{
|
||||
qDebug() << "SDRPlayGui::handleMessage: MsgReportSDRPlayGains";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user