Plays short audio files such as a terminal bell through PipeWire on Linux and WASAPI on Windows.

Open a Sound's stream ahead of its first Play with Player.prepare main

An application can now find out when it loads its Sounds that there is no sound output, rather than at the first Play, and the first Play no longer waits on the sound server. A stream is opened paused, so a prepared Sound is off the server's schedule until it is played. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013GnDsfLDmzoHCS7p8w1dKf


Author jcollie.dev
Co-author Claude Opus 5.5 Date Commit Parent c5c7203e
+68 -11
3 changed files
+68 -11
3 changed files