mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-03-03 14:00:06 -05:00
BFM demodulator: fixed audio mono/stereo switch. Fixes #2412
This commit is contained in:
parent
d48f5628ac
commit
7ff0721e70
@ -344,8 +344,10 @@ void BFMDemodSink::applySettings(const BFMDemodSettings& settings, bool force)
|
||||
<< " m_useReverseAPI: " << settings.m_useReverseAPI
|
||||
<< " force: " << force;
|
||||
|
||||
if ((settings.m_audioStereo && (settings.m_audioStereo != m_settings.m_audioStereo)) || force) {
|
||||
if ((settings.m_audioStereo && (settings.m_audioStereo != m_settings.m_audioStereo)) || force)
|
||||
{
|
||||
m_pilotPLL.configure(19000.0/m_channelSampleRate, 50.0/m_channelSampleRate, 0.01);
|
||||
applyAudioSampleRate(m_audioSampleRate); // re-apply audio sample rate to reconfigure interpolators
|
||||
}
|
||||
|
||||
if ((settings.m_afBandwidth != m_settings.m_afBandwidth) || force)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user