From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 16:01:00 2006 Return-Path: X-Original-To: freebsd-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 63AD816A420 for ; Fri, 6 Jan 2006 16:01:00 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9326643D70; Fri, 6 Jan 2006 16:00:55 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k06G0l0q003027; Fri, 6 Jan 2006 16:00:48 GMT (envelope-from ariff@FreeBSD.org) Date: Sat, 7 Jan 2006 00:00:44 +0800 From: Ariff Abdullah To: Nikolas Britton Message-Id: <20060107000044.107d04ca.ariff@FreeBSD.org> In-Reply-To: References: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) 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, 06 Jan 2006 16:01:00 -0000 --Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 6 Jan 2006 08:24:02 -0600 Nikolas Britton wrote: >=20 > Thanks for your quick reply. I tried the above and playback is still > fast, changing it to any number doesn't seem to do anything. I also > cannot set it with loader.conf. I have to do it manually after the > system is loaded, Is this normal? Here is what I have in > loader.conf: >=20 > sound_load=3D"YES" > snd_ich_load=3D"YES" > hw.snd.pcm0.ac97rate=3D48000 > hw.snd.ac97rate=3D48000 > hint.pcm.0.ac97rate=3D"48000" > hw.snd.maxautovchans=3D4 Put hw.* into /etc/sysctl.conf. Ok, since you said none of it works, how about this: # kldunload snd_ich # kenv hint.pcm.0.vchanrate=3D48000 # kldload snd_ich # sysctl hw.snd.maxautovchans=3D4 Note: 1) anything that begin with hw.* should go into /etc/sysctl.conf 2) anything that begin with hint.* should go into /boot/device.hints -- Ariff Abdullah FreeBSD --Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvpQulr+deMUwTNoRApb9AJ0TJI2QhGVmw8DPrNAWumMMticxuwCgoudO LZfRkffYxl/9eG/uSObHszY= =/QBb -----END PGP SIGNATURE----- --Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6--