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-07-24 05:28:55 +02:00
|
|
|
# use samplerate to resample as speexdsp resample is bad
|
|
|
|
defaults.pcm.rate_converter "samplerate"
|
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
pcm.!default {
|
|
|
|
type asym
|
2018-08-01 12:54:25 +02:00
|
|
|
playback.pcm "dmixer"
|
2018-03-02 10:28:01 +01:00
|
|
|
capture.pcm "ac108"
|
|
|
|
}
|
|
|
|
|
2018-02-10 09:57:30 +01:00
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
pcm.ac108 {
|
|
|
|
type plug
|
2018-05-21 11:52:38 +02:00
|
|
|
slave {
|
|
|
|
rate 48000
|
|
|
|
format S32_LE
|
2018-07-24 05:28:55 +02:00
|
|
|
pcm "hw:seeed8micvoicec"
|
2018-05-21 11:52:38 +02:00
|
|
|
}
|
2018-03-02 10:28:01 +01:00
|
|
|
}
|
|
|
|
|
2018-07-24 05:28:55 +02:00
|
|
|
# pcm.multiapps {
|
|
|
|
# type dsnoop
|
|
|
|
# slave {
|
|
|
|
# rate 48000
|
|
|
|
# format S32_LE
|
|
|
|
# pcm "hw:seeed8micvoicec"
|
|
|
|
# }
|
|
|
|
# ipc_key 666666
|
|
|
|
# }
|
|
|
|
|
2018-08-01 12:54:25 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
pcm.ac101 {
|
2018-08-01 12:54:25 +02:00
|
|
|
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
|
2018-02-10 09:57:30 +01:00
|
|
|
}
|
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
|