Don't stop the device in ma_device_uninit().
If the state miniaudio side of the device does not match the actual state of the backend side of it, such as when the device is stopped but the backend doesn't post a notification, attempting to stop the device might result in a deadlock. This is a just a quick workaround hack for the moment while a more robust solution is figured out. https://github.com/mackron/miniaudio/issues/717
Showing
Please register or sign in to comment