diff --git a/asound_6mic.conf b/asound_6mic.conf index 9d2a19a..490d0ab 100644 --- a/asound_6mic.conf +++ b/asound_6mic.conf @@ -6,7 +6,7 @@ defaults.pcm.rate_converter "samplerate" pcm.!default { type asym - playback.pcm "ac101" + playback.pcm "dmixer" capture.pcm "ac108" } @@ -30,28 +30,58 @@ pcm.ac108 { # 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 { - type plug - slave { - pcm { - type route - slave { - pcm "hw:seeed8micvoicec" - format S32_LE - channels 8 - } - 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 - } - channels 2 - rate 48000 - } + type plug + slave { + pcm "hw:seeed8micvoicec" + 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 }