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