mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 15:51:47 -05:00
NFMDemodSink: Fix ctcssOn logic
This commit is contained in:
parent
38755e35f1
commit
7ad8c046f2
@ -173,7 +173,7 @@ void NFMDemodSink::processOneSample(Complex &ci)
|
||||
}
|
||||
}
|
||||
|
||||
if (!m_settings.m_audioMute && (m_settings.m_ctcssOn && m_ctcssIndexSelected == ctcssIndex || m_ctcssIndexSelected == 0))
|
||||
if (!m_settings.m_audioMute && (!m_settings.m_ctcssOn || m_ctcssIndexSelected == ctcssIndex || m_ctcssIndexSelected == 0))
|
||||
{
|
||||
Real audioSample = m_squelchDelayLine.readBack(m_squelchGate);
|
||||
audioSample = m_settings.m_highPass ? m_bandpass.filter(audioSample) : m_lowpass.filter(audioSample);
|
||||
|
Loading…
Reference in New Issue
Block a user