From 7e4753ac5941393a03233874ed2a6d740fe3d975 Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 29 May 2019 12:17:48 +0200 Subject: [PATCH] AM demod: corrected copy and paste error --- plugins/channelrx/demodam/amdemod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demodam/amdemod.cpp b/plugins/channelrx/demodam/amdemod.cpp index d6be41e0a..bde9606e3 100644 --- a/plugins/channelrx/demodam/amdemod.cpp +++ b/plugins/channelrx/demodam/amdemod.cpp @@ -461,7 +461,7 @@ void AMDemod::applySettings(const AMDemodSettings& settings, bool force) m_interpolatorDistanceRemain = 0; m_interpolatorDistance = (Real) m_inputSampleRate / (Real) m_audioSampleRate; m_bandpass.create(301, m_audioSampleRate, 300.0, settings.m_rfBandwidth / 2.0f); - m_lowpass.create(301, m_audioSampleRate, m_settings.m_rfBandwidth / 2.0f); + m_lowpass.create(301, m_audioSampleRate, settings.m_rfBandwidth / 2.0f); DSBFilter->create_dsb_filter((2.0f * settings.m_rfBandwidth) / (float) m_audioSampleRate); m_settingsMutex.unlock();