[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Glade Programming, Handling system event sounds.



Hi there! How are u trying to produce sound? Are u
writing to /dev/dsp directly? This is impossible when
the GNOME sound server is running, as it makes ESD ru
on /dev/dsp. ESD is a sound server. It has it own
client handling and security policies. U must first
request an authorisation from esd. I think u would
have to use IOCTL, or u can directly link to the ESD
lib, and use ESD routines to play u're sound. What ESD
actually does, is it kinda emulates sound mixing in
Software. So, less gifted ppl. owning even an ol' 8
bit sound card can play several sounds simultaenously.
The last time i check, i think ESD can mix 63 sounds
at once. I think that no. must have grown now. RTFM
for ESD or read the docs, which come with the source,
if u're a CVS kinda guy (like ME) ;-). hope this
helps.

Nikhil.



--- "L.V.Gandhi" <lvgandhi@xxxxxxxxxxxxxxx> wrote:
> I was developing a front end for an answering
> machine
> using glade. Every
> thing works Ok. But when it comes to hearing i get
> msg
> device or source
> busy. When i disabled event sounds from gnome
> control
> panel, sound in my
> program starts working. How to get around. What are
> the
> alternatives?
> 
> 
> -- 
> L.V.Gandhi
> MECON, 5th Floor, RTC Complex, Visakhapatnam AP
> 530020 INDIA
> http://www.poboxes.com/lvgandhi 
> lvgandhi@xxxxxxxxxxx, 
> lvgandhi@xxxxxxxx,  31882656@xxxxxxxxxxxxxxxxxxx
> 
>
--------------------------------------------------------------------
> The Linux India Mailing List Archives are now
> available.  Please search
> the archive at http://lists.linux-india.org/ before
> posting your question
> to avoid repetition and save bandwidth.
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.