Update asound_6mic.conf

This commit is contained in:
Yihui Xiong 2018-08-01 18:54:25 +08:00 committed by GitHub
parent bca16c68c4
commit 67b4504964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 52 additions and 22 deletions

View File

@ -6,7 +6,7 @@ defaults.pcm.rate_converter "samplerate"
pcm.!default { pcm.!default {
type asym type asym
playback.pcm "ac101" playback.pcm "dmixer"
capture.pcm "ac108" capture.pcm "ac108"
} }
@ -30,28 +30,58 @@ pcm.ac108 {
# ipc_key 666666 # ipc_key 666666
# } # }
pcm.dmixer {
type plug
slave {
pcm {
type dmix
ipc_key 555555
slave {
pcm "hw:seeed8micvoicec"
format S32_LE
channels 8
}
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}
channels 8
format S32_LE
rate 48000
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
ttable.0.6 1
ttable.1.7 1
}
pcm.ac101 { pcm.ac101 {
type plug type plug
slave { slave {
pcm { pcm "hw:seeed8micvoicec"
type route channels 8
slave { format S32_LE
pcm "hw:seeed8micvoicec" rate 48000
format S32_LE }
channels 8 ttable.0.0 1
} ttable.1.1 1
ttable.0.0 1 ttable.0.2 1
ttable.1.1 1 ttable.1.3 1
ttable.0.2 1 ttable.0.4 1
ttable.1.3 1 ttable.1.5 1
ttable.0.4 1 ttable.0.6 1
ttable.1.5 1 ttable.1.7 1
ttable.0.6 1
ttable.1.7 1
}
channels 2
rate 48000
}
} }