[ILUG] Sound Alerts

Caolan McNamara cmc at stardivision.de
Tue Sep 5 08:10:11 IST 2000


At 18:00 04.09.00 +0000, Subba Rao wrote:

>Now, what happens when multiple alerts are set off at the same time? Do 
>the alerts get queued to the driver?

Nope, the second and third ones end just get the bums rush.

>Now, when I tried to set off 3 alerts at the sametime, I get the following
>message,
>
>sox: Can't open output file '/dev/dsp': Device or resource busy

You need to run something that will be able to accept multiple audio inputs 
and mix them for delivery to the sound system. I.e. use esd and move your 
apps over to using the esd interface rather than /dev/audio (there is also 
the older nas system, and the never completed XAudio system), this might 
also allow more interesting things as esd is network aware so client 
machines can send the alert to the admins box for playback as part of the 
supported and tested esd interface. Only problem is that you can hardly 
call the esd api extensively documented, but there are some client apps and 
for what you want to do they should be sufficient.

/dev/audio, just say no.

C.

--
Herein are personal opinions, you'd want to be crazed to consider
these official positions of StarOffice/Sun or even vaguely congruent.





More information about the ILUG mailing list