> > The one problem is I still can't play different wave files
> > simultaneously through the two outputs.
> >
> > If I start "aplay -D maudio_spdif 12.wav &" and then try to do "aplay -D
> > plug:maudio_analog 11.wav" at the same time, the second one just blocks
> > until the first one is done.
> >
> > This is unfortunate, since I'd really like to be able to run two-room
> > sound from my computer into different amplifiers and speakers.  I'm sure
> > there's a way to do it, since the hardware is capable of it...

Now after thinking this, I think ecasound is the right tool for this.

Create a device to .asoundrc: (with correct card number of course)

pcm.2496_4ch
{
        type plug
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.8 1
        ttable.3.9 1
        slave.pcm {
        type hw
        card 0
        device 0
        }
}

Then use ecasound with this device, and take input from two sources and
send them to the appropriate channels, first input to channels 1&2, second
to channels 3&4.

I don't know the right way to do this, but I know that it can be done.
Since ecasound can split 4 channel wav to separate channels, I don't see
why it wouldn't join two stereo samples to one 4 channel sample.

Maybe you'll have to ask this from ecasound-list

http://www.eca.cx/mlists.html


Tommi


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to