From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 4 19:29:56 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FF0D16A41F for ; Fri, 4 Nov 2005 19:29:56 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E37D743D45 for ; Fri, 4 Nov 2005 19:29:55 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id jA4JS8JL029456; Fri, 4 Nov 2005 12:28:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 04 Nov 2005 12:28:08 -0700 (MST) Message-Id: <20051104.122808.104060873.imp@bsdimp.com> To: skywizard@MyBSD.org.my From: Warner Losh 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> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 04 Nov 2005 12:28:08 -0700 (MST) Cc: multimedia@freebsd.org Subject: Re: Sound driver weirdness X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 19:29:56 -0000 > > % 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