mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
make it fit in allocated space
This commit is contained in:
@@ -150,7 +150,7 @@ void TrackPlayer::runTask() {
|
||||
dataCallback(pcmBuffer.data() + (ret - toWrite), toWrite,
|
||||
this->currentTrackStream->trackInfo.trackId, this->sequence);
|
||||
if (written == 0) {
|
||||
BELL_SLEEP_MS(10);
|
||||
BELL_SLEEP_MS(50);
|
||||
}
|
||||
toWrite -= written;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user