单音频输出到多设备配置文件
作者:互联网
pcm.multi {
type multi
slaves.a.pcm "hw:0,0"
slaves.a.channels 2
slaves.b.pcm "hw:1,0"
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.asymed{
type asym
playback.pcm "multi"
capture.pcm "dsnoop_44100"
}
ctl.multi{
type hw;
card 0;
}
pcm.!default{
type plug
route_policy "average"
slave.pcm "asymed"
}
标签:输出,multi,slave,配置文件,音频,slaves,pcm,type,channel 来源: https://blog.csdn.net/c2h5oh2012/article/details/114837272