Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Nov 2005 12:28:08 -0700 (MST)
From:      Warner Losh <imp@bsdimp.com>
To:        skywizard@MyBSD.org.my
Cc:        multimedia@freebsd.org
Subject:   Re: Sound driver weirdness
Message-ID:  <20051104.122808.104060873.imp@bsdimp.com>
In-Reply-To: <20051105032008.384323ac.skywizard@MyBSD.org.my>
References:  <20051105023834.5da2a41b.skywizard@MyBSD.org.my> <20051104.114748.71117327.imp@bsdimp.com> <20051105032008.384323ac.skywizard@MyBSD.org.my>

next in thread | previous in thread | raw e-mail | index | archive | help
> > % fstat | grep dps
> "dsp"

Same results.

> > Why are my vchans disabled, what does that mean and what can I do
> > about it?
> That means at most, only single process (sound apps) can acquire the
> sound device (vchans = virtual channels).
> 1) Try enabling vchans by increasing the value of both
>    hw.snd.maxautovchans and hw.snd.pcm0.vchans (4 is a good start).
>    After that, you probably need to reduce the value of
>    hw.snd.pcm0.vchanrate to 44100 (only if necessary).

same results.

> 2) Try to use other 'simpler' apps, such as mpg321

cat > /dev/dsp gives the same results:

cat > /dev/dsp
/dev/dsp: Operation not supported by device.

> 3) hm.. I don't think my recent commit against both dsp.c/mixer.c
>    cause this problem (maybe?). Note that there was also a commit by
>    DES, so you probably need to back off dsp.c down to rev. 1.85

I'll have to give that a spin...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051104.122808.104060873.imp>