shairplay
shairplay copied to clipboard
Error opening audio device 5
Below is the complete error
Error opening audio device 5 Please check your libao settings and try again
It tells me to check my libao settings, but I think there is no problem with them. This is my libao settings in /etc/libao.conf
default_driver=pulse quiet
Any solutions will be appreciated.
Try running as sudo. I saved me on nxp dev board. Double check the driver - if you are using alsa device, you should change the confing accordingly.
I am getting the same error:
$ sudo shairplay -a mylaptop
Error opening audio device 5
Please check your libao settings and try again
I have tried alsa
and pulse
as a default_driver
in /etc/libao.conf
. Here is the default /etc/libao.conf
config in my Arch Linux:
default_driver=alsa
dev=default
quiet
If I drop quiet
setting, and keep alsa
, I get:
ao_alsa ERROR: Unable to open ALSA device 'default' for playback => Invalid argument
which seems fine as I use pulseaudio. With debug
setting and pulse
driver I get:
debug: Loaded driver null (built-in)
debug: Loaded driver wav (built-in)
debug: Loaded driver raw (built-in)
debug: Loaded driver au (built-in)
debug: Loading driver plugins from /usr/lib/ao/plugins-4...
debug: Loaded driver pulse
debug: Loaded driver alsa
debug: Loaded driver oss
debug: Testing drivers to find playback default...
Error opening audio device 5
Please check your libao settings and try again
Getting the same issue on a fresh Arch Linux install. Not really sure how this app in general is supposed to work.
Edit your /etc/libao.conf:
- Change default_driver to pulse
- Comment out dev=default
Edit your /etc/libao.conf:
- Change default_driver to pulse
- Comment out dev=default
Getting the same error, on Ubuntu. Here's my /etc/libao.conf
default_driver=pulse
quiet
I don't even care about the audio for the moment, just need an extended screen with my Mac, is there a way?
same here, on Arch.
@rashsaga - I was to start it with dev=null
in libao.conf and --ao_driver=alsa
I think we can close this one, because I confirm it's working on ArchLinux with just this
default_driver=pulse
quiet
in the /etc/libao.conf
Why is alsa not supported though?
@UnlimitedCookies I think alsa is supported, it's just a mess if you use pulse and the same time alsa