From 1acbda8659573ec33600deefacf16b00089f9fe5 Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 27 Feb 2019 02:19:02 +0100 Subject: [PATCH] FreeDV mod: fixed audio resampling filter sample rate --- plugins/channeltx/modfreedv/freedvmod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channeltx/modfreedv/freedvmod.cpp b/plugins/channeltx/modfreedv/freedvmod.cpp index 2fe60d526..7526755af 100644 --- a/plugins/channeltx/modfreedv/freedvmod.cpp +++ b/plugins/channeltx/modfreedv/freedvmod.cpp @@ -573,7 +573,7 @@ void FreeDVMod::applyAudioSampleRate(int sampleRate) m_settingsMutex.lock(); m_audioResampler.setDecimation(sampleRate / m_inputSampleRate); - m_audioResampler.setAudioFilters(sampleRate, m_inputSampleRate, 250, 3300); + m_audioResampler.setAudioFilters(sampleRate, sampleRate, 250, 3300); m_settingsMutex.unlock(); m_audioSampleRate = sampleRate;