Files
Baptiste MOINE 9f6e96001c Do not freeze the emulator while the melody plays
Playback waited for the sound card to drain before returning, and that runs
on the emulation thread: the whole emulator stopped for the length of the
take - 7.8 s of a 24.7 s hwtest run, measured - with the window not
repainting, which Windows paints as a hung application. Dropping a payload
on the picker looked like it had wedged.

Nothing needs the wait. The entire buffer is queued in one call before
playback starts, so SDL drains it in the background with no risk of
underrun; the device is simply left open for it. Same run is now 17.5 s with
no gap over 0.1 s, and the melody still plays in full.
2026-08-20 10:50:24 +02:00
..
2026-05-02 00:52:26 +02:00
2026-05-02 00:52:26 +02:00
2026-05-02 00:52:26 +02:00
2026-05-02 00:52:26 +02:00
2026-05-02 00:52:26 +02:00
2026-05-02 00:52:26 +02:00