From b27a8890d649f94de38215d8fe125726b4b0da4f Mon Sep 17 00:00:00 2001 From: vsonnier Date: Wed, 14 Nov 2018 20:16:11 +0100 Subject: [PATCH] Fix #689: Wrong setAudioSampleRate code, thanks @GkvJeep --- src/demod/DemodulatorInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demod/DemodulatorInstance.cpp b/src/demod/DemodulatorInstance.cpp index 9620ec3..f6417a6 100644 --- a/src/demod/DemodulatorInstance.cpp +++ b/src/demod/DemodulatorInstance.cpp @@ -484,7 +484,7 @@ long long DemodulatorInstance::getFrequency() { } void DemodulatorInstance::setAudioSampleRate(int sampleRate) { - demodulatorPreThread->setSampleRate(sampleRate); + demodulatorPreThread->setAudioSampleRate(sampleRate); } int DemodulatorInstance::getAudioSampleRate() {