From dc62afd788ed110aa8b84aada9cd9bd3bb2a1e2e Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 18 Apr 2023 18:19:28 +0200 Subject: [PATCH] backport typo - release --- .../cspot/bell/main/audio-dsp/include/CentralAudioBuffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/spotify/cspot/bell/main/audio-dsp/include/CentralAudioBuffer.h b/components/spotify/cspot/bell/main/audio-dsp/include/CentralAudioBuffer.h index 2f1c5db0..c2723da5 100644 --- a/components/spotify/cspot/bell/main/audio-dsp/include/CentralAudioBuffer.h +++ b/components/spotify/cspot/bell/main/audio-dsp/include/CentralAudioBuffer.h @@ -71,6 +71,7 @@ class CentralAudioBuffer { void clearBuffer() { std::scoped_lock lock(this->dataAccessMutex); //size_t exceptSize = currentSampleRate + (sizeof(AudioChunk) - (currentSampleRate % sizeof(AudioChunk))); + hasChunk = false; audioBuffer->emptyBuffer(); }