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 "ac108"
|
|
|
|
}
|
2017-09-06 11:56:00 +02:00
|
|
|
|
|
|
|
pcm.playback {
|
|
|
|
type plug
|
2018-07-24 05:28:55 +02:00
|
|
|
slave.pcm "hw:ALSA"
|
2017-09-06 11:56:00 +02:00
|
|
|
}
|
|
|
|
|
2018-07-24 05:28:55 +02:00
|
|
|
# pcm.dmixed {
|
|
|
|
# type dmix
|
|
|
|
# slave.pcm "hw:0,0"
|
|
|
|
# ipc_key 555555
|
|
|
|
# }
|
2017-09-06 11:56:00 +02:00
|
|
|
|
2017-09-14 10:45:38 +02:00
|
|
|
pcm.ac108 {
|
2018-02-27 10:12:42 +01:00
|
|
|
type plug
|
2018-07-24 05:28:55 +02:00
|
|
|
slave.pcm "hw:seeed4micvoicec"
|
2018-02-27 10:12:42 +01:00
|
|
|
}
|
|
|
|
|
2018-07-24 05:28:55 +02:00
|
|
|
# pcm.multiapps {
|
|
|
|
# type dsnoop
|
|
|
|
# ac108-slavepcm "hw:1,0"
|
|
|
|
# ipc_key 666666
|
|
|
|
# }
|