فهرست منبع

backport typo - release

philippe44 1 سال پیش
والد
کامیت
dc62afd788
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      components/spotify/cspot/bell/main/audio-dsp/include/CentralAudioBuffer.h

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