mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
Channel Analyzer: corrected channel sample rate applied to the sink when processing DSPSignalNotification
This commit is contained in:
parent
fe520f5ae5
commit
16db72658b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user