Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 11:13:36 +0100
From:      Willem van Engen <wvengen@stack.nl>
To:        "Sue Blake" <sue@welearn.com.au>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: closing sound device
Message-ID:  <20020218111336.68c21d8c.wvengen@stack.nl>
In-Reply-To: <20020217122625.C291@welearn.com.au>
References:  <20020217122625.C291@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Feb 2002 12:26:25 +1100
"Sue Blake" <sue@welearn.com.au> wrote:

> 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.
I have a similar problem: when I use a program which uses mpg123 in remote
mode to play mp3's somehow some mpg123's become zombies. And sometimes the
audio device is not closed I think, so I can't use that particular audio
device anymore until it's rebooted.
Currently, I start to use a different sound channel. I see you have only
one playback channel (sndstat: 1p), so you could set the sysctl
hw.snd.pcm0.vchans to 4 and use /dev/dsp0.[0123] to play music four times
as long.
I hope this helps to get around it. But I would like to have a way to
'free' a device when I want it. Is that possble at all?

- Willem van Engen


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?20020218111336.68c21d8c.wvengen>