I am setting up a Raspberry Pi Zero W with HiFiBerry DAC+ Zero. Librespot is already compiled with portaudio as backend (took me about three hours). Running librespot also is getting discovered by Spotify Desktop and iOS. But no sound is playing at all, because I don't know how to select HiFiBerry as output device for librespot.
By selecting --device hw:1 librespot is just panicking:
Now I got it. I was trying to get librespot to work with the wrong audio backend. So I needed to compile it again with the correct features: cargo build --release --features alsa-backend
I am setting up a Raspberry Pi Zero W with HiFiBerry DAC+ Zero. Librespot is already compiled with portaudio as backend (took me about three hours). Running librespot also is getting discovered by Spotify Desktop and iOS. But no sound is playing at all, because I don't know how to select HiFiBerry as output device for librespot.
By selecting
--device hw:1
librespot is just panicking:The devices listed by librespot:
The devices listed from
/proc/asound/cards
:The devices listed by
aplay
: