At Fri, 11 Oct 2002 it looks like Chris Snyder composed:

> David Banning wrote:
> 
> >When I try and use the sound port, I get this error;
> >
> >/dev/dsp: Device busy
> >audio: Device busy
> > 
> >I could restart the machine, but I wondered how I would  go about fixing
> >this without restarting the machine.
> >  
> >
> I had this problem under 4.6.2, never did find a way to fix it other 
> than restart. Upgrade to STABLE, it should go away.
> 

I can only speak from experience here but in using mpg123 with
a directory full of *.mp3 files I had to do a script that first
killed "artsd" then ran my mpg123 script. While *inside* the
music directory with a list of the mp3 files inside the text
file called "playlist.lst" I run a script called "go" and all
works well.

I run this out of command line.

#!/bin/sh
#
for i in `ps -auxw|grep artsd|grep -v grep|awk '{print $2}'`; do
kill -9 $i; done
mpg123 -v -v -Z -@ playlist.lst

-- 
|<-----------------------Word-Wrap-At-72-Please----------------------->|
Bill Schoolcraft            
PO Box 210076                 -o)
San Francisco CA 94121         /\
"UNIX, A Way Of Life."        _\_v
http://forwardslashunix.com/raw



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to