AudioPcmOutThreadImplementation.exit

Stops playback and unsupends if necessary and exits.

Call this instead of join.

Please note: you should never call this from inside an audio callback, as it will crash or deadlock. Instead, just return false from your buffer fill function to indicate that you are done.

class AudioPcmOutThreadImplementation
Throwable
exit
(
bool rethrow = false
)

Meta

History

Added December 30, 2021 (dub v10.5)