Date: Fri, 6 Jan 2006 08:24:02 -0600 From: Nikolas Britton <nikolas.britton@gmail.com> To: Ariff Abdullah <ariff@freebsd.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) Message-ID: <ef10de9a0601060624q51497ec3yc20a335a43b17d9c@mail.gmail.com> In-Reply-To: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> References: <ef10de9a0601060433w10e1af6apc0dc90ce579712ce@mail.gmail.com> <20060106210703.5a6bc4d6.ariff@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/6/06, Ariff Abdullah <ariff@freebsd.org> wrote: > On Fri, 6 Jan 2006 06:33:19 -0600 > Nikolas Britton <nikolas.britton@gmail.com> wrote: > > Hello, I'm having the same problem that was described on the current > > mailling list about a week ago, here's the thread: > > http://groups.google.com/group/mailing.freebsd.current/browse_thread/th= read/587de689691ab207 > > > > Here's the short version: Audio playback is too fast, it's too fast > > in KDE and too fast on the console (splay) but CD playback is > > perfect. Based on what I read in the link above the problem had been > > fixed and MFC'd, so I updated the system to 6-STABLE, but playback > > is still too fast. > > > > > uname -a > > FreeBSD musicbox1.local 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Jan 6 > > 03:51:40 CST 2006 > > root@musicbox1.local:/usr/obj/usr/src/sys/GENERIC i386 > > ------------------------------ > > ACPI APIC Table: <DELL GX150 > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel Pentium III (996.77-MHz 686-class CPU) > > Origin =3D "GenuineIntel" Id =3D 0x68a Stepping =3D 10 > > Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR > > ,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 266301440 (253 > > MB) avail memory =3D 251097088 (239 MB) > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > > pcm0: <Intel ICH2 (82801BA)> port 0xd800-0xd8ff,0xdc40-0xdc7f irq 17 > > at device 31.5 on pci0 > > pcm0: <Analog Devices AD1885 AC97 Codec> > > pcm0: measured ac97 link rate at 55942 Hz > > ------------------------------ > > > cat /dev/sndstat > > FreeBSD Audio Driver (newpcm) > > Installed devices: > > pcm0: <Intel ICH2 (82801BA)> at io 0xd800, 0xdc40 irq 17 bufsz 16384 > > kld snd_ich (1p/1r/2v channels duplex default) > > ------------------------------ > > > sysctl -a hw.snd > > hw.snd.report_soft_formats: 1 > > hw.snd.targetirqrate: 32 > > hw.snd.verbose: 1 > > hw.snd.maxautovchans: 4 > > hw.snd.unit: 0 > > hw.snd.pcm0.buffersize: 16384 > > hw.snd.pcm0.vchans: 2 > > hw.snd.pcm0.ac97rate: 55942 > > Set hw.snd.pcm0.ac97rate=3D48000 and see if that fix it. > > 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=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a0601060624q51497ec3yc20a335a43b17d9c>