Date: Tue, 04 Sep 2001 09:40:44 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: "David W. Chapman Jr." <dwcjr@inethouston.net> Cc: current@FreeBSD.org, Julian Elischer <julian@elischer.org> Subject: Re: trying to play sound in -current Message-ID: <XFMail.010904094044.jhb@FreeBSD.org> In-Reply-To: <20010903225551.A99020@leviathan.inethouston.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010904094044.jhb>