premature flac decode deletion solved

This commit is contained in:
2026-10-30 09:17:54 +01:00
parent 1d9899c0d2
commit b1c6e3976a
6 changed files with 139 additions and 26 deletions
+5 -1
View File
@@ -85,7 +85,11 @@ The @racket[state-hash] contains the detailed playback state reported by the
worker. It includes values such as the current playback position, stream
duration, buffer status, music id, and libao handle validity. Code that only
needs the logical playback state should use @racket[current-player-state]
instead of extracting it from the hash.
instead of extracting it from the hash. The @racket['error] entry is
@racket[#f] during normal playback or an error message when decoding fails.
A failed read reports @racket['stopped]; starting another track cleans up the
failed playback before opening a new decoder. Each new track also resets the
interruption flag, so an earlier failed Stop cannot suppress its EOF event.
The @racket[cb-eof-stream] callback is called as: