Files
osy b06df7e76c osxaudio: write silence and drop input while stopping
With the render callback kept installed through a pause, a render can
run between the ring buffer leaving STARTED and the pause or stop
handler setting io_proc_dropping. Fill the rest of the output buffer
with silence when no segment can be read, instead of returning with it
unwritten, and set io_proc_dropping when stopping, so a render that is
still running does not try to take the ring buffer lock that the
stopping thread holds while it tears the AudioUnit down.

Assisted-by: Claude:claude-opus-5-5
2026-11-15 15:09:25 -08:00
..
2019-10-14 11:04:18 +01:00
2021-03-29 12:45:23 +02:00
2021-03-29 12:45:23 +02:00
2019-10-14 11:04:18 +01:00
2020-07-10 17:37:28 +01:00