Hi,
I’m running Volumio 2.323 on a Raspberry Pi 2 with a Hifiberry Digi+ Pro, HW 1.2 outputting SPDIF to an amplifier.
When I try to play a song through the web interface, I see an alert that reads:
Error
Failed to open "alsa" [alsa]; Failed to open ALSA device "hw:1,0": No such file or directory
When I check to see what the hardware address of my DAC should be, it looks like it should actually be hw0,0, I think:
volumio@music:/etc$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
I found what looks like the right settings in /etc/mpd.conf:
audio_output {
type "alsa"
name "alsa"
device "hw:1,0"
dop "no"
}
but if I edit mpd.conf, it gets rewritten when I restart Volumio, so I must need to change it at a higher level.
How can I change what device ALSA tries to use?
Thanks!