From owner-freebsd-multimedia Sat Feb 16 17:26:36 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from phoenix.welearn.com.au (unknown [139.130.44.81]) by hub.freebsd.org (Postfix) with ESMTP id 5BD2F37B416 for ; Sat, 16 Feb 2002 17:26:28 -0800 (PST) Received: (from sue@localhost) by phoenix.welearn.com.au (8.11.6/8.11.6) id g1H1QPb02684 for freebsd-multimedia@freebsd.org; Sun, 17 Feb 2002 12:26:25 +1100 (EST) (envelope-from sue) Date: Sun, 17 Feb 2002 12:26:25 +1100 From: Sue Blake To: freebsd-multimedia@freebsd.org Subject: closing sound device Message-ID: <20020217122625.C291@welearn.com.au> Mail-Followup-To: Sue Blake , freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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