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
librespot was working fine with default ALSA settings, but it was competing with Mopidy for an audio device, this is why I tried to create mixing device with following ALSA configuration:
pcm.hifiberry {
type hw card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hifiberry"
channels 2
}
}
ctl.dmixer {
type hw
card 0
}
I configured librespot to use dmix, but unfortunately each time I try to play anything being connected to librespot I get this error message:
Oh and dtoverlay=hifiberry-dac is inside /boot/config.txt and librespot version is 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: g9ifMDjd, Profile: release).
I'm quite new to ALSA configuration to be honest.. I think I should change dmix device format, but not sure how to achieve that. I also have suspicion about /etc/asound.conf whether it's being applied, because without it "aplay -L" gives me identical output.. Also "unable to open slave" on dmix is worrying me as it was supposed to be shared.
Can you please guide me a little bit? Thank you.
The text was updated successfully, but these errors were encountered:
The dmix device is configured to support only 32 bit 48 kHz. Librespot with the Alsa backend can do 32 bit (though you need to tell it to do that) but not 48 kHz without the PR #1180.
Hi all,
I would like to ask you for some help. My hardware is Raspberry Pi Zero 2 W + Pirate Audio with a line-out. This s how it introduces itself:
librespot was working fine with default ALSA settings, but it was competing with Mopidy for an audio device, this is why I tried to create mixing device with following ALSA configuration:
I configured librespot to use dmix, but unfortunately each time I try to play anything being connected to librespot I get this error message:
This is what devices librespot sees:
Oh and dtoverlay=hifiberry-dac is inside /boot/config.txt and librespot version is 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: g9ifMDjd, Profile: release).
I'm quite new to ALSA configuration to be honest.. I think I should change dmix device format, but not sure how to achieve that. I also have suspicion about /etc/asound.conf whether it's being applied, because without it "aplay -L" gives me identical output.. Also "unable to open slave" on dmix is worrying me as it was supposed to be shared.
Can you please guide me a little bit? Thank you.
The text was updated successfully, but these errors were encountered: