소스 검색

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