Skip to main content Module buffer Copy item path Source DecodeHandle Handle to a running decode thread. Drop to stop it. PlaybackTimeline Shared timeline that the decode thread writes and the UI reads.
The decode thread appends boundaries; the UI reads them + samples_played
to derive current track and position. SourceEntry A source entry for the generic decode queue. StreamInfo Info about the decoded audio stream, extracted before decoding starts. TrackBoundary A track boundary in the playback stream. At sample_offset cumulative
samples written to the ring buffer, this track starts. DecodeError codec_name probe_file Probe a file and return stream info without decoding. probe_source Probe a MediaSourceStream (with hint) and return stream info without decoding. start_decode Start decoding from a SourceEntry into the ring buffer. start_decode_file Start decoding a file into the ring buffer (convenience wrapper).