You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a device is disconnected, the following error causes the audio thread to panic and the app needs to be restarted:
ERROR Musicat::output::cpal:audio output error: The requested device is no longer available. For example, it has been unplugged.
To handle this, the error needs to be handled in the audio callback in output.rs and an event emitted to the AudioPlayer (handled in decode_loop) to re-init the audio device with the current default device.
The text was updated successfully, but these errors were encountered:
When a device is disconnected, the following error causes the audio thread to panic and the app needs to be restarted:
To handle this, the error needs to be handled in the audio callback in
output.rs
and an event emitted to the AudioPlayer (handled indecode_loop
) to re-init the audio device with the current default device.The text was updated successfully, but these errors were encountered: