Paul Telford wrote:
> 
> > if the audio device is open by another application, xgalaga-sndserv
> > waits until that device closes it, and then pushes all sounds to audio.
> > It sounds bad when playing mp3's and between songs i hear all that crap.
> > Imho sound server should exit if it can't open audio device.
> 
> 
> With something like KDE, artsd grabs an exclusive hold on /dev/dsp.
> xgalaga seems happy to queue sounds until it can write.  Short of adding
> arts support, I wonder if its possible to check at open() time somehow to
> see if writes are being blocked?

open with O_NONBLOCK and check writes for EAGAIN.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to