Audio playing fast on 6.x (Looking for Ariff Abdullah)

Ariff Abdullah ariff at FreeBSD.org
Fri Jan 6 05:07:45 PST 2006


On Fri, 6 Jan 2006 06:33:19 -0600
Nikolas Britton <nikolas.britton at 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/thread/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 at 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 = "GenuineIntel"  Id = 0x68a  Stepping = 10
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR
> ,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory  = 266301440 (253
> MB) avail memory = 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=48000 and see if that fix it. 


--
Ariff Abdullah
FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20060106/143cca0a/attachment.bin


More information about the freebsd-multimedia mailing list