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-07-24 05:28:55 +02:00
|
|
|
playback.pcm "ac101"
|
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-03-02 10:28:01 +01:00
|
|
|
pcm.ac101 {
|
2018-02-10 09:57:30 +01:00
|
|
|
type plug
|
|
|
|
slave {
|
|
|
|
pcm {
|
2018-07-24 05:28:55 +02:00
|
|
|
type route
|
|
|
|
slave {
|
|
|
|
pcm "hw:seeed8micvoicec"
|
2018-02-10 09:57:30 +01:00
|
|
|
format S32_LE
|
|
|
|
channels 8
|
|
|
|
}
|
2018-07-24 05:28:55 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
channels 2
|
2018-07-24 05:28:55 +02:00
|
|
|
rate 48000
|
2018-02-10 09:57:30 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-02 10:28:01 +01:00
|
|
|
|