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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user