mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
FreeDV mod: fixed audio resampling filter sample rate
This commit is contained in:
parent
fdbe8a6b59
commit
1acbda8659
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user