[alsa-devel] TLV320AIC3104 Sample rate problem

Catalin Crenguta catalin.crenguta at gmail.com
Mon Nov 24 17:03:33 CET 2014


Hello,

I'm using an Audio Cape Rev. B connected to BeagleBone Black
(MCLK=12MHz) and I'm trying to record audio at sample rate 8KHz.
Recording and playback using ALSA is OK, but when playing the recorded
samples on PC you can hear that the actual sample rate is lower (the
pitch shifted to a lower tone).
I have added debug messages throughout the alsa driver tlv320aic3x.c,
and I found out that the PLL parameters are computed correctly as in
TLV320AIC3104 Datasheet Table found at page 27. (p: 1 j: 8 d: 1920 r:
1).
Has anyone else encountered a problem like this? Can someone with more
experience check the driver?

Kernel: https://github.com/beagleboard/linux , commit 2bcc89c, 3.14.19+.

Best regards,
Catalin Crenguta


More information about the Alsa-devel mailing list