generated from GarandPLG/rust-flake-template
3e932e5638
Introduce a `ChangePart` variant to `AudioCmd` and a `current_part` state in `handle_audio`. The audio sink is now created via `DeviceSinkBuilder::from_default_device` with a fixed buffer size. `load_audio` now accepts a reference to `SoundrackParts`, and the player automatically queues the correct part when the queue becomes empty.