On Tue, 24 Feb 2004 08:12:15 -0700 (MST) Kirk Bauer <[EMAIL PROTECTED]> wrote:
> On Tue, 24 Feb 2004, Jaroslav Kysela wrote: > > > On Tue, 24 Feb 2004, Kirk Bauer wrote: > > > > > I think it would help if somebody could explain to me (or point me > > > to a web resource) about how you select an output in ALSA. I know > > > how to do it with 'aplay' since it has a special command-line > > > option, but I'm doing speech with the festival speech engine and > > > the output just goes to the first output channel and I don't know > > > how to control that. Do I just point the program to a different > > > device file in /dev? > > > > If it's OSS program, you must use aoss (alsa-oss package) script to > > route the OSS API to alsa-lib and define pcm.dsp0. > > I tried it out and I get: > > # aoss mpg123 test.mp3 > High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. > Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. > Uses code from various people. See 'README' for more! > THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! > audio: No such file or directory > > Also -- can 'aoss' send to something else besides pcm.dsp0? Well, you can define pcm.dsp0 to point to what you want.. So just change the pcm.dsp0 entry in your .asoundrc like for example: pcm.foo { type dmix slave.pcm "hw:0,0" } pcm.dsp0 { type plug slave.pcm "foo" } Flo -- signature :) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user