Nikolay Dimitrov wrote:
> What is the proper way to use the "copy" plugin in the ALSA
> configuration file?
pcm.copy_to_hw0 {
type copy
slave.pcm "hw:0"
}
The device "copy_to_hw0" just copies everything to hw:0.
This is probably not what you want.
> What I'm trying to do is to copy a stream to 2 separate sound devices
First, create a multi plugin with four channels. Then use a transfer
table to route the client's channels to all the desired channels:
pcm.Duplicate {
type plug
slave.pcm {
type multi
slaves {
a { pcm "hw:0,0" channels 2 }
b { pcm "hw:1,0" channels 2 }
}
bindings [
{ slave a channel 0 }
{ slave a channel 1 }
{ slave b channel 0 }
{ slave b channel 1 }
]
}
ttable [
[ 1 0 1 0 ]
[ 0 1 0 1 ]
]
}
Regards,
Clemens
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user