Date: Sun, 17 Feb 2002 12:26:25 +1100 From: Sue Blake <sue@welearn.com.au> To: freebsd-multimedia@freebsd.org Subject: closing sound device Message-ID: <20020217122625.C291@welearn.com.au>
next in thread | raw e-mail | index | archive | help
After I stop playing a sound file (deliberately within a program
or because of program crash), I can't play any more music until
I reboot the machine.
It seems like the device is still waiting for more input from
that file.
Yesterday:
Feb 16 07:29:04 set /kernel: pcm0: play interrupt timeout, channel dead
Today:
t$ timidity hp_amin.mid
/dev/dsp: Device busy
Couldn't open dsp device (`d')
$ waveplay pretty.wav
[..]
openDSP: Device busy
$ cat hit1.au > /dev/audio
bash: /dev/audio: Device busy
This may be a bug, but for now I'm stuck with it, since by other
reports upgrading is not going to make it go away.
Surely there is some brute force way that I can just clear the damn
thing out rather than rebooting each time?
$ uname -a
FreeBSD set.welearn.com.au 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Sun Feb 3 07:02:56 EST 2002 root@set.welearn.com.au:/local/src/sys/compile/SET i386
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Dec 26 2001 06:50:47
Installed devices:
pcm0: <Yamaha OPL-SAx> at io 0x530 irq 5 drq 0:1 (1p/1r/0v channels duplex)
--
Regards,
-*Sue*-
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020217122625.C291>
