Configure ALSA - respeaker/avs GitHub Wiki
ALSA configuration file can be placed at /etc/asound.conf
or ~/.asoundrc
. We can enable dmix with the following configuration.
~./.asoundrc
for respeaker mic array on raspbian
pcm.!default {
type asym
playback.pcm "dmixed"
capture.pcm "plughw:1"
}
pcm.dmixed {
type dmix
slave.pcm "hw:1"
ipc_key 55555
}
/etc/asound.conf
for respeaker v2
pcm.!default {
type asym
playback.pcm "dmixed"
capture.pcm "plughw:0,0"
}
pcm.dmixed {
type dmix
slave.pcm "hw:0,2"
ipc_key 55555
}