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(); }