mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-14 15:37:10 +03:00
no more clicks on SPDIF & CSpot
This commit is contained in:
@@ -113,9 +113,7 @@ size_t ChunkedByteStream::attemptRead(uint8_t *buffer, size_t bytes, std::shared
|
||||
toRead = chunk->decryptedData.size() - offset;
|
||||
}
|
||||
|
||||
// Copy data
|
||||
memcpy(buffer, chunk->decryptedData.data() + offset, toRead);
|
||||
|
||||
chunk->readData(buffer, offset, toRead);
|
||||
return toRead;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user