From owner-freebsd-current Tue Sep 4 9:41: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id D969337B408 for ; Tue, 4 Sep 2001 09:40:55 -0700 (PDT) Received: from laptop.baldwin.cx (john@[147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id JAA24403; Tue, 4 Sep 2001 09:40:47 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010903225551.A99020@leviathan.inethouston.net> Date: Tue, 04 Sep 2001 09:40:44 -0700 (PDT) From: John Baldwin To: "David W. Chapman Jr." Subject: Re: trying to play sound in -current Cc: current@FreeBSD.org, Julian Elischer Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 04-Sep-01 David W. Chapman Jr. wrote: > On Mon, Sep 03, 2001 at 08:44:58PM -0700, John Baldwin wrote: >> >> On 02-Sep-01 Julian Elischer wrote: >> > "David W. Chapman Jr." wrote: >> >> >> >> I get this a lot recently when I try to play anything >> >> >> >> > echo test > /dev/dsp0 >> >> /dev/dsp0: Device busy. >> >> >> >> even when it shouldn't be busy, after atbout 10 mins it usually >> >> becomes not busy >> > >> > sure your window manager isn't using it? >> > (e.g. 'enlighten' does, as does kde in some configurations) >> >> Shouldnt' matter in -current since the sound driver does software mixing of >> multiple input channels (meaning that multiple processes can open /dev/dsp >> at >> the same time and it all Just Works (tm)). >> > I was instructed to set snd.hw.vchan=4 I believe and it has appeared > to fix this, by default its at 1 and they aren't mixed. Really? I've run multiple mpg123's before and had it mix the output appropriately w/o needing to set any sysctl's. In fact, am doing so right now inside of KDE (with arts or whatever their sound daemon is called also running). Granted, it sounds rather weird. :-P 915 john -8 0 5236K 900K pcmwr 0:01 1.66% 1.51% mpg123 914 john -8 0 4336K 912K pcmwr 0:01 1.64% 1.51% mpg123 > sysctl hw.snd hw.snd.verbose: 0 hw.snd.unit: 0 hw.snd.autovchans: 0 hw.snd.maxvchans: 0 hw.snd.pcm0.vchans: 0 hw.snd.pcm0.hwvol_step: 5 hw.snd.pcm0.hwvol_mixer: vol -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message