forked from ports/contrib
59 lines
888 B
Plaintext
59 lines
888 B
Plaintext
pcm.!default {
|
|
type asym
|
|
playback.pcm "Monitor"
|
|
capture.pcm "hw:Loopback,0,0"
|
|
}
|
|
|
|
ctl.!default {
|
|
type hw
|
|
card 0
|
|
}
|
|
|
|
pcm.Monitor {
|
|
type plug
|
|
slave.pcm mdev
|
|
route_policy "duplicate"
|
|
}
|
|
|
|
pcm.mdev {
|
|
type multi
|
|
slaves.a.pcm pcm.MixPCH
|
|
slaves.a.channels 2
|
|
slaves.b.pcm pcm.MixLoopback
|
|
slaves.b.channels 2
|
|
bindings.0.slave a
|
|
bindings.0.channel 0
|
|
bindings.1.slave a
|
|
bindings.1.channel 1
|
|
bindings.2.slave b
|
|
bindings.2.channel 0
|
|
bindings.3.slave b
|
|
bindings.3.channel 1
|
|
}
|
|
|
|
pcm.MixPCH {
|
|
type dmix
|
|
ipc_key 1024
|
|
slave {
|
|
pcm "hw:0,0,0"
|
|
rate 48000
|
|
periods 128
|
|
period_time 0
|
|
period_size 1024 # must be power of 2
|
|
buffer_size 8192
|
|
}
|
|
}
|
|
|
|
pcm.MixLoopback {
|
|
type dmix
|
|
ipc_key 1025
|
|
slave {
|
|
pcm "hw:Loopback,1,0"
|
|
rate 48000
|
|
periods 128
|
|
period_time 0
|
|
period_size 1024 # must be power of 2
|
|
buffer_size 8192
|
|
}
|
|
}
|