浏览代码

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