mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-26 20:14:19 -04:00
New Jogdial Controller feature plugin. Implements #1088
This commit is contained in:
@@ -210,6 +210,19 @@ bool APTDemod::handleMessage(const Message& cmd)
|
||||
}
|
||||
}
|
||||
|
||||
void APTDemod::setCenterFrequency(qint64 frequency)
|
||||
{
|
||||
APTDemodSettings settings = m_settings;
|
||||
settings.m_inputFrequencyOffset = frequency;
|
||||
applySettings(settings, false);
|
||||
|
||||
if (m_guiMessageQueue) // forward to GUI if any
|
||||
{
|
||||
MsgConfigureAPTDemod *msgToGUI = MsgConfigureAPTDemod::create(settings, false);
|
||||
m_guiMessageQueue->push(msgToGUI);
|
||||
}
|
||||
}
|
||||
|
||||
void APTDemod::applySettings(const APTDemodSettings& settings, bool force)
|
||||
{
|
||||
qDebug() << "APTDemod::applySettings:"
|
||||
|
||||
Reference in New Issue
Block a user