daktilo
daktilo copied to clipboard
Failed to run multiple presets due to stream error: `The requested device is no longer available`
Describe the bug
I am getting the following error while trying to run multiple presets at the same time:
Stream error: `The requested device is no longer available. For example, it has been unplugged.`
It comes from https://docs.rs/rodio/latest/rodio/enum.StreamError.html
To reproduce
daktilo -p default -p musicbox -p drumkit
Expected behavior
Successful run.
Software information
- Operating system: Arch Linux
- Rust version: rustc 1.73.0 (cc66ad468 2023-10-03)
- Project version: git
Additional context
I'm using pulse-pipewire
Unable to reproduce using:
- Operating system: Manjaro
- rustc 1.73.0 (cc66ad468 2023-10-03)
- Project version: https://github.com/orhun/daktilo.git#5776676f
Maybe we need to handle change of audio device gracefully?
Not sure, which audio server are you using?
Currently PulseAudio