mirror of
https://github.com/utmapp/gst-plugins-good.git
synced 2026-12-01 07:53:38 -10:00
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