From b55609c80206e10022a4058d72cc2aaab60b224e Mon Sep 17 00:00:00 2001 From: vsonnier Date: Mon, 22 Jan 2018 07:26:13 +0100 Subject: [PATCH] AudioThread: rollback some guard code because of previously wrong understanding --- src/audio/AudioThread.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/audio/AudioThread.cpp b/src/audio/AudioThread.cpp index 1f89911..73fe167 100644 --- a/src/audio/AudioThread.cpp +++ b/src/audio/AudioThread.cpp @@ -345,10 +345,7 @@ void AudioThread::setSampleRate(int sampleRate) { //Set bounded sample rate: for (size_t j = 0; j < boundThreads.size(); j++) { AudioThread *srcmix = boundThreads[j]; - // the controller thread is part of the boundedThreads, so prevent infinite recursion: - if (srcmix != this) { - srcmix->setSampleRate(sampleRate); - } + srcmix->setSampleRate(sampleRate); } //make a local copy, snapshot of the list of demodulators