I have dual mono setup with Hifiberry sound cards in four rooms. This has worked with Snapcast and I was trying to switch to Sendspin, but two daemons can't simultaneously open PCM devices, even though allowed by ALSA. When one is active --list-audio-devices on the other returns an empty list.
Here's /etc/asound.conf for reproducing the issue:
pcm.hifiberry_raw {
type hw
card 0
device 0
}
pcm.hifiberry {
type plug
slave.pcm "hifiberry_raw"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hifiberry_raw"
channels 2
}
}
pcm.olohuone {
type plug
slave.pcm "dmixer"
ttable.0.0 1
ttable.1.0 1
ttable.0.1 0
ttable.1.1 0
}
pcm.keittio {
type plug
slave.pcm "dmixer"
ttable.0.0 0
ttable.1.0 0
ttable.0.1 1
ttable.1.1 1
}
ctl.dmixer {
type hw
card 0
}
I have dual mono setup with Hifiberry sound cards in four rooms. This has worked with Snapcast and I was trying to switch to Sendspin, but two daemons can't simultaneously open PCM devices, even though allowed by ALSA. When one is active --list-audio-devices on the other returns an empty list.
Here's /etc/asound.conf for reproducing the issue:
pcm.hifiberry_raw {
type hw
card 0
device 0
}
pcm.hifiberry {
type plug
slave.pcm "hifiberry_raw"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hifiberry_raw"
channels 2
}
}
pcm.olohuone {
type plug
slave.pcm "dmixer"
ttable.0.0 1
ttable.1.0 1
ttable.0.1 0
ttable.1.1 0
}
pcm.keittio {
type plug
slave.pcm "dmixer"
ttable.0.0 0
ttable.1.0 0
ttable.0.1 1
ttable.1.1 1
}
ctl.dmixer {
type hw
card 0
}