1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

New Jogdial Controller feature plugin. Implements #1088

This commit is contained in:
f4exb
2022-01-06 22:47:41 +01:00
parent 7142ef0b0d
commit 128dd03684
123 changed files with 3333 additions and 22 deletions
+13
View File
@@ -91,6 +91,19 @@ void UDPSource::pull(SampleVector::iterator& begin, unsigned int nbSamples)
m_basebandSource->pull(begin, nbSamples);
}
void UDPSource::setCenterFrequency(qint64 frequency)
{
UDPSourceSettings settings = m_settings;
settings.m_inputFrequencyOffset = frequency;
applySettings(settings, false);
if (m_guiMessageQueue) // forward to GUI if any
{
MsgConfigureUDPSource *msgToGUI = MsgConfigureUDPSource::create(settings, false);
m_guiMessageQueue->push(msgToGUI);
}
}
bool UDPSource::handleMessage(const Message& cmd)
{
if (MsgConfigureChannelizer::match(cmd))