From 3642a7a2f6ba92d1ed70447378d40d49c7fb815e Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 26 Apr 2019 12:06:36 +0200 Subject: [PATCH] Remote input: Redo the channelizer stuff with the new sample rate to re-synchronize everything --- plugins/channelrx/remotesink/remotesink.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/channelrx/remotesink/remotesink.cpp b/plugins/channelrx/remotesink/remotesink.cpp index b20a0c284..0ddecb407 100644 --- a/plugins/channelrx/remotesink/remotesink.cpp +++ b/plugins/channelrx/remotesink/remotesink.cpp @@ -287,6 +287,11 @@ bool RemoteSink::handleMessage(const Message& cmd) setCenterFrequency(notif.getCenterFrequency()); + // Redo the channelizer stuff with the new sample rate to re-synchronize everything + m_channelizer->set(m_channelizer->getInputMessageQueue(), + m_settings.m_log2Decim, + m_settings.m_filterChainHash); + if (m_guiMessageQueue) { MsgSampleRateNotification *msg = MsgSampleRateNotification::create(notif.getSampleRate());