mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-12 22:43:36 -04:00
New Jogdial Controller feature plugin. Implements #1088
This commit is contained in:
@@ -108,6 +108,19 @@ void NFMMod::pull(SampleVector::iterator& begin, unsigned int nbSamples)
|
||||
m_basebandSource->pull(begin, nbSamples);
|
||||
}
|
||||
|
||||
void NFMMod::setCenterFrequency(qint64 frequency)
|
||||
{
|
||||
NFMModSettings settings = m_settings;
|
||||
settings.m_inputFrequencyOffset = frequency;
|
||||
applySettings(settings, false);
|
||||
|
||||
if (m_guiMessageQueue) // forward to GUI if any
|
||||
{
|
||||
MsgConfigureNFMMod *msgToGUI = MsgConfigureNFMMod::create(settings, false);
|
||||
m_guiMessageQueue->push(msgToGUI);
|
||||
}
|
||||
}
|
||||
|
||||
bool NFMMod::handleMessage(const Message& cmd)
|
||||
{
|
||||
if (MsgConfigureNFMMod::match(cmd))
|
||||
|
||||
Reference in New Issue
Block a user