mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-14 15:37:10 +03:00
update CSpot
This commit is contained in:
@@ -79,6 +79,7 @@ size_t ChunkedByteStream::read(uint8_t *buf, size_t nbytes) {
|
||||
if (chunk != nullptr) {
|
||||
// Wait for chunk if not loaded yet
|
||||
if (!chunk->isLoaded && !chunk->isFailed) {
|
||||
BELL_LOG(info, "cspot", "Chunk not loaded, waiting for %d", chunkIndex);
|
||||
chunk->isLoadedSemaphore->wait();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user