Enable recording via dsnoop

This commit is contained in:
Miles Alan 2020-06-09 18:58:45 -05:00
parent 4c39cd16b0
commit f10eab033d

View file

@ -1,9 +1,26 @@
# Setup Dmix # Setup Dmix
pcm.!default { pcm.!default {
type plug type plug
slave.pcm "dmixer" slave.pcm "duplex"
} }
pcm.duplex {
type asym
playback.pcm "dmixer"
capture.pcm "dsnoop"
}
pcm.dsnooped {
type dsnoop
slave {
pcm "hw:0,0"
channels 1
}
}
pcm.dmixer { pcm.dmixer {
type dmix type dmix
ipc_key 1024 ipc_key 1024