1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-30 03:38:55 -05:00

Channel Analyzer: corrected channel sample rate applied to the sink when processing DSPSignalNotification

This commit is contained in:
f4exb 2020-07-13 16:11:31 +02:00
parent fe520f5ae5
commit 16db72658b

View File

@ -139,7 +139,7 @@ bool ChannelAnalyzerBaseband::handleMessage(const Message& cmd)
m_channelizer->setBasebandSampleRate(notif.getSampleRate());
unsigned int desiredSampleRate = notif.getSampleRate() / (1<<m_settings.m_log2Decim);
m_channelizer->setChannelization(desiredSampleRate, m_settings.m_inputFrequencyOffset);
m_sink.applyChannelSettings(desiredSampleRate, m_channelizer->getChannelFrequencyOffset());
m_sink.applyChannelSettings(m_channelizer->getChannelSampleRate(), m_channelizer->getChannelFrequencyOffset());
return true;
}