2017-09-06 11:56:00 +02:00
|
|
|
# The IPC key of dmix or dsnoop plugin must be unique
|
|
|
|
# If 555555 or 666666 is used by other processes, use another one
|
|
|
|
|
2018-07-24 05:28:55 +02:00
|
|
|
|
|
|
|
# use samplerate to resample as speexdsp resample is bad
|
|
|
|
defaults.pcm.rate_converter "samplerate"
|
|
|
|
|
2017-10-18 09:51:54 +02:00
|
|
|
pcm.!default {
|
|
|
|
type asym
|
|
|
|
playback.pcm "playback"
|
|
|
|
capture.pcm "capture"
|
|
|
|
}
|
2017-09-06 11:56:00 +02:00
|
|
|
|
|
|
|
pcm.playback {
|
|
|
|
type plug
|
|
|
|
slave.pcm "dmixed"
|
|
|
|
}
|
|
|
|
|
|
|
|
pcm.capture {
|
|
|
|
type plug
|
|
|
|
slave.pcm "array"
|
|
|
|
}
|
|
|
|
|
|
|
|
pcm.dmixed {
|
|
|
|
type dmix
|
2018-07-24 05:28:55 +02:00
|
|
|
slave.pcm "hw:seeed2micvoicec"
|
2017-09-06 11:56:00 +02:00
|
|
|
ipc_key 555555
|
|
|
|
}
|
|
|
|
|
|
|
|
pcm.array {
|
|
|
|
type dsnoop
|
|
|
|
slave {
|
2018-07-24 05:28:55 +02:00
|
|
|
pcm "hw:seeed2micvoicec"
|
2017-09-06 11:56:00 +02:00
|
|
|
channels 2
|
|
|
|
}
|
|
|
|
ipc_key 666666
|
|
|
|
}
|
|
|
|
|