mozilla / cubeb

Cross platform audio library
ISC License
439 stars 124 forks source link

wasapi: Stop audio clients when render thread exits. #703

Closed kinetiknz closed 2 years ago

kinetiknz commented 2 years ago

Stop audio clients when the render thread exits, since we're no longer servicing events on the associated event handles and leaving the clients running when we're not servicing events on them is a waste of system resources (and triggers avoidable underruns in the OS audio server).

Closes https://github.com/mozilla/cubeb/issues/366