1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

FreeDV mod: fixed audio resampling filter sample rate

This commit is contained in:
f4exb 2019-02-27 02:19:02 +01:00
parent fdbe8a6b59
commit 1acbda8659

View File

@ -573,7 +573,7 @@ void FreeDVMod::applyAudioSampleRate(int sampleRate)
m_settingsMutex.lock(); m_settingsMutex.lock();
m_audioResampler.setDecimation(sampleRate / m_inputSampleRate); 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_settingsMutex.unlock();
m_audioSampleRate = sampleRate; m_audioSampleRate = sampleRate;