Thanks, that's a good explanation.
I took a look through the driver source code, and see 48000 hardcoded
everywhere but no 44100. Then I saw some code to print the clock speed
to the log...
# grep intel8 /var/log/kernel/info
Jul 28 10:08:24 Tophtop kernel: intel8x0: clocking to 50266
Jul 28 13:33:03 Tophtop kernel: intel8x0: clocking to 48000
Jul 28 13:58:48 Tophtop kernel: intel8x0: clocking to 48000
Jul 29 07:56:12 Tophtop kernel: intel8x0: clocking to 50266
Jul 30 10:35:08 Tophtop kernel: intel8x0: clocking to 50266
Two things are strange here. One is that it's not reporting 44.1 kHz
(which would be in error), and the other is that it's fluctuating each
time I boot!
Well, this points me in the right direction anyway. I think I need to
write to the alsa mailing list.
armin walland wrote:> Topher Cawlfield <cawlfieluiuc.edu> wrote:
>>I'm trying to track down the source of an audio playback problem on my
>>laptop. I have various .ogg and .mp3 files, and they all seem to be a
>>little high-pitched and fast. I recently compared a .ogg file to the
>>original played directly off the CD, and found that the .ogg
>>reproduction was about a whole step too high, which corresponds to
>>roughly 12% too fast (+/- a few percent, I could time a song for more
>>>>I'm running Mandrake Linux 9.1 on a Dell Inspiron 8200. I'm using ALSA
>>version 0.9.0rc8, with the snd-intel8x0 module. It sounds fine, except
>>for the speed.
> it seems you have the wrong sample rate. common sample rates for sound
> cards are 44.1 KHz and 48KHz. i don't know how to set them in alsa but i
> am pretty sure that could be the problem.
> hth, armin