On 07/22/2012 10:01 PM, Paulino Kenji Sato wrote:
> Hi,
> I think this can be done by the copy plugin.
> But not figured out how to do to use it.
>
> http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html
>
> Plugin: copy
> This plugin copies samples from master copy PCM to given slave PCM.
> The channel count, format and rate must match for both of them.
>
> pcm.name {
>          type copy               # Copy PCM
>          slave STR               # Slave name
>          # or
>          slave {                 # Slave definition
>                  pcm STR         # Slave PCM name
>                  # or
>                  pcm { }         # Slave PCM definition
>          }
> }
>
>
> How to define the master? Is not the default.
> One of .asoundrc tested configuration.
> pcm.copy {
>      type copy
>      slave {
>         pcm card1
>      }
> }
> pcm.card0 {
>      type hw
>      card 0
> }
> pcm.card1 {
>      type hw
>      card 1
> }
>
> speaker-test -c 2 -D copy
> Play only on card1.
>
>
>
> -
> Paulino
>
>
Thanx, Paulino.  Where should I put this code? It must be a aprt of some 
script, somewhere.

--doug

-- 
Blessed are the peacekeepers...for they shall be shot at from both sides. 
--A.M. Greeley


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to