There have been a couple of messages back and forth and I realized I forgot
cc:ing to the list, so here is a re-reply just to make amends.
/A
---------
I found a version of it here:
http://wiki.linuxquestions.org/wiki/M-Audio_Quattro
although it mentions /root/.asoundrc as proper placement which I would not
recommend.
The idea is to create a "multi" device from your two hardware devices (e.g.
hw:0,0 and hw:1,0) as described for the Quattro. Then create a "plug" device
for handling automatic conversion (your software might not support the precise
format needed by the "multi" device). In the example there is a routing table
for the "plug" device consisting of expressions like "ttable.0.0 1;"
Those expression mean something like "route input nr 0 to output nr 0 with
level 1". Channels are numbered from 0. By doing something like
ttable.0.0 1;
ttable.1.1 1;
ttable.0.2 1;
ttable.1.3 1;
you duplicate what is coming on the first two channels from your software to
the two output channel pairs. If you have setup the "multi" device properly
that would mean sound out on both devices. There are a number of pitfalls that
may need to be Avoided, but give it a go and shout back if you get stuck!
Regards,
/A
23 jul 2012 kl. 18:58 skrev Doug <dmcgarr...@optonline.net>:
> On 07/23/2012 06:19 AM, Anders Genell wrote:
>> You put it in the alsa settings file, which is either ~/.asoundrc if you
>> want setting to apply only to one user (namely you) or /etc/asound.conf if
>> you want system wide settings. The latter needs root access. It may be that
>> neither of them exists in which case you have to create them e.g. by saving
>> the proposed setting into a new file.
>>
>> I have not tested 'copy' myself but there is another function in alsa which
>> allows syncing of multiple sound cards, called 'multi'. I have used an
>> excellent how-to to get an m-audio Quattro USB running on alsa that uses
>> 'multi' - I'll see if I can dig up the link...
>>
>> /Anders
>>
> Thank you, Anders. I would really appreciate it you can find it.
>
> --doug
23 jul 2012 kl. 05:44 skrev Doug <dmcgarr...@optonline.net>:
> 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
------------------------------------------------------------------------------
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