Skip to main content

Module player

Module player 

Source
Expand description

Playback engine — dedicated audio thread with queue management

All rodio interaction is isolated to a single OS thread (OutputStream is !Send). The Sink is Send+Sync and shared via Arc for control from async code.

Structs§

NowPlaying
Snapshot of current playback state, broadcast via watch channel
Player
Audio playback engine with queue and controls
PlayerState
Persisted player state — saved to disk so playback can resume across restarts