Remote input: Redo the channelizer stuff with the new sample rate to re-synchronize everything

This commit is contained in:
f4exb 2019-04-26 12:06:36 +02:00
parent 105873bfda
commit 3642a7a2f6
1 changed files with 5 additions and 0 deletions

View File

@ -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());