Hello,
I want to use in parallel Kodi and Squeezelite on the same libreelec RPI3 with an Hifiberry DAC Plus soundcard. I used to do that in the past but my SD card died and now I cannot set it up again.
The problem is that the hifiberry card cannot mux multiple streams. Kodi or Squeezelite takes the card - whichever starts first - and the other cannot play.
It should be possible to configure alsa with dmix plugin. I tried the following in /storage/.config/sound.conf and /storage/.config/asound.conf
:
Code
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
}
Display More
But this does not seem to have any effect.
Code
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
It looks like the config file is completely ignored. I did not find anything useful in the logs, but I am not sure of what to look for.