Date: Sat, 7 Jan 2006 00:00:44 +0800 From: Ariff Abdullah <ariff@FreeBSD.org> To: Nikolas Britton <nikolas.britton@gmail.com> Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) Message-ID: <20060107000044.107d04ca.ariff@FreeBSD.org> In-Reply-To: <ef10de9a0601060624q51497ec3yc20a335a43b17d9c@mail.gmail.com> References: <ef10de9a0601060433w10e1af6apc0dc90ce579712ce@mail.gmail.com> <20060106210703.5a6bc4d6.ariff@FreeBSD.org> <ef10de9a0601060624q51497ec3yc20a335a43b17d9c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Fri, 6 Jan 2006 08:24:02 -0600
Nikolas Britton <nikolas.britton@gmail.com> wrote:
>
> 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:
>
> sound_load="YES"
> snd_ich_load="YES"
> hw.snd.pcm0.ac97rate=48000
> hw.snd.ac97rate=48000
> hint.pcm.0.ac97rate="48000"
> hw.snd.maxautovchans=4
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=48000
# kldload snd_ich
# sysctl hw.snd.maxautovchans=4
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDvpQulr+deMUwTNoRApb9AJ0TJI2QhGVmw8DPrNAWumMMticxuwCgoudO
LZfRkffYxl/9eG/uSObHszY=
=/QBb
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060107000044.107d04ca.ariff>
