Gaetan Lord wrote: > I do home automation, and like to have a single card from which I could > have 2 separate stereo output. > > I'd like to be able to run 1 XMMS instance on each of them, or also have > the possibility to run a single instance of XMMS on both simultaneously. > > I have a hard time with my Soundblaster card, using the front and back > output.
········································································ Using the "front" and "rear" devices for separate outputs should already work. If your application uses a sample format not supported by the hardware, use "plug:front" and "plug:rear". To output a stereo stream to both front and rear speaker pairs, put the following into /etc/asound.conf: pcm.stereosurround { @args [ CARD ] @args.CARD { type string } type route slave { pcm { @func concat strings [ "surround40:CARD=" $CARD ] } channels 4 } ttable [ [ 1 0 1 0 ] [ 0 1 0 1 ] ] } and tell xmms or aplay to use device "stereosurround:0" (or "plug:stereosurround:0"). ("0" is the card number.) HTH Clemens ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user