How do you stop OSS, Artsd, Gnome sound etc from Jumping all over each other?

Jerry McBride mcbrides9
Mon May 17 11:45:56 PDT 2004


On Thu, 27 Mar 2003 10:05:34 +1100 James McDonald <james at jamesmcdonald.id.au>
wrote:

> I have a mdk 9.0 box... sometimes when I use xmms I get the following
> 
>     ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): 
> Resource temporarily unavailable
> 
> It looks as though it's due to another sound server monopolizing /dev/dsp...
> 
> How do you get them all to play happily or at least exit properly when 
> they are done and not keep a lock on /dev/dsp?
> 

Screw Gnome... as for OSS, well... run artsd as your base sound server. It works
very well. The wrap all your apps that require OSS in the arts wrapper; artsdsp.
What artsdsp does is takes OSS calls and runs them seamlessly through artsd...
Very elegant.

For instance, if you want to run mpg123 to listen to a couple of *.mp3's... jst
do; artsdsp mpg123 -Z some.mp3's and mpg123 will play it's audio via the artsd
daemon.

-- 


More information about the Linux-users mailing list