AAudio: Explicitly stop the device in the event of a reroute failure.
This commit removes the calls to ma_device__set_state() and replaces them with a call to ma_device_stop() which is the intended way for backends to change the state of the device. In addition, this comes with the added effect of firing the stop callback when a reroute fails.
Showing
Please register or sign in to comment