> > It should be -D maudio_spdif, so lose the plug: and it will work. I think > > the analog should also work without plug. > > Thanks! That did it, mostly... I now can play sound through the SPDIF! > > The analog doesn't work without "plug", I get an error "aplay: > set_params:827: Sample format non available". I think it's because the > 2496 driver only does 24bit, so 16bit pcm requires translation.
Yes, of course. > But that's not a problem - plug works fine. > > 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... Well, some kind of dmix approach might do it. app1 >-- --> analog \ / dmix / \ app2 >-- --> spdif I don't know how to do it. I think this kind of plug device would be popular among 5.1 owners, where you could define what input goes to what output. Something like: -D dmix_rear -D dmix_front etc.. But how to separate them from the mix? Anyway, dmix allows multiple instances to use the soundcard, so it's a start. Maybe the plugins can be linked so that output of one goes to input of the other. I guess this can be done, but I'm not any .asoundrc magician. Or ttable & bindings... http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php3 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