mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Source plugins: put a serializer and deserializer in the core plugin for server. NFM demod: fixed deserializer
This commit is contained in:
@@ -176,7 +176,16 @@ void SDRdaemonSourceGui::setCenterFrequency(qint64 centerFrequency)
|
||||
|
||||
bool SDRdaemonSourceGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (SDRdaemonSourceInput::MsgReportSDRdaemonAcquisition::match(message))
|
||||
if (SDRdaemonSourceInput::MsgConfigureSDRdaemonSource::match(message))
|
||||
{
|
||||
const SDRdaemonSourceInput::MsgConfigureSDRdaemonSource& cfg = (SDRdaemonSourceInput::MsgConfigureSDRdaemonSource&) message;
|
||||
m_settings = cfg.getSettings();
|
||||
blockApplySettings(true);
|
||||
displaySettings();
|
||||
blockApplySettings(false);
|
||||
return true;
|
||||
}
|
||||
else if (SDRdaemonSourceInput::MsgReportSDRdaemonAcquisition::match(message))
|
||||
{
|
||||
m_acquisition = ((SDRdaemonSourceInput::MsgReportSDRdaemonAcquisition&)message).getAcquisition();
|
||||
updateWithAcquisition();
|
||||
|
||||
Reference in New Issue
Block a user