2018-03-02 10:28:01 +01: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-02-10 09:57:30 +01:00
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
pcm.!default {
|
|
|
|
type asym
|
|
|
|
playback.pcm "ac101"
|
|
|
|
capture.pcm "ac108"
|
|
|
|
}
|
|
|
|
|
|
|
|
pcm.playback {
|
|
|
|
type plug
|
|
|
|
slave.pcm "hw:0,0"
|
|
|
|
}
|
|
|
|
|
|
|
|
pcm.dmixed {
|
|
|
|
type dmix
|
|
|
|
slave.pcm "hw:0,0"
|
|
|
|
ipc_key 555555
|
|
|
|
}
|
2018-02-10 09:57:30 +01:00
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
pcm.ac108 {
|
|
|
|
type plug
|
|
|
|
slave.pcm "multiapps"
|
|
|
|
}
|
|
|
|
|
|
|
|
pcm.multiapps {
|
|
|
|
type dsnoop
|
|
|
|
slave.pcm "hw:1,0"
|
|
|
|
ipc_key 666666
|
|
|
|
}
|
|
|
|
|
|
|
|
pcm.ac101 {
|
2018-02-10 09:57:30 +01:00
|
|
|
type plug
|
|
|
|
slave {
|
|
|
|
pcm {
|
|
|
|
type dmix
|
|
|
|
ipc_key 1048576
|
|
|
|
slave {
|
|
|
|
pcm "hw:1,0"
|
|
|
|
format S32_LE
|
|
|
|
# rate 16000
|
|
|
|
channels 8
|
|
|
|
}
|
|
|
|
bindings {
|
|
|
|
# map 2 channels input to
|
|
|
|
# first 2 channels of 8 output
|
|
|
|
0 0
|
|
|
|
1 1
|
|
|
|
0 2
|
|
|
|
1 3
|
|
|
|
0 4
|
|
|
|
1 5
|
|
|
|
0 6
|
|
|
|
1 7
|
|
|
|
}
|
|
|
|
}
|
|
|
|
channels 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
|