Re: Multiple applications using sound drivers?

Yo 'Ric Dude (ericmit@ix.netcom.com)
Sun, 28 Feb 1999 23:13:16 +0000


> > tend to play a lot of MP3 files (using X11Amp), and I also have Licq running.
> > While I'm playing MP3 files, Licq can't play sounds when a message comes in.
> > Is there any way to allow this? I realize that it goes against standard UNIX
> > principles, but...
>
> Esd is designed to address this, or at least start to. Esd doesnt address
> the I have 5 streams and 3 sound cards cases yet but does the simple ones.

As long as each sound card has it's own /dev/dsp:

esd -port 5001 -d /dev/dsp1 &
esd -port 5002 -d /dev/dsp2 &
esd -port 5003 -d /dev/dsp3 &

For each stream, you'd need to set the ESPEAKER env. var.
accordingly:

card 1: export ESPEAKER=:5001 or setenv ESPEAKER :5001
card 2: export ESPEAKER=:5002 or setenv ESPEAKER :5002
card 3: export ESPEAKER=:5003 or setenv ESPEAKER :5003

Alan, you want to let me know if^H^H how that works out? =)

Esd is available from http://www.tux.org/~ricdude/EsounD.html

> Alan

-- ebm
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| __ a.k.a. Eric B. Mitchell |
| |_) . _ _| _| _ ericmit@ix.netcom.com |
| | \ ( (_ (_| (_| (_| (/_http://www.tux.org/~ricdude|
| How's My Programming? Call: 1 - 800 - DEV - NULL |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/