Recording on WM9712

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have an iMX6q board with external AC97 WM9712 codec connected to SSI on iMX6.

The card is detected correctly and it is using generic AC97 codec
driver, not the specific one for WM9712. I was able to hard code the
values into fsl-asoc-card.c and fsl_ssi.c files, but my problem still
remains.

I can playback WAV file normally, also speaker-test works as expected.
The problem is when I try to record something from Line In.
It does record the file, but when I playback it, it is "too slow". I
tried different sample rates, but the problem is only worse (strange
beeping in the recording).

The command for recording is:
# arecord  -f dat -vv /tmp/record.wav

(I tired also with -M option, but there is no difference).

If I copy the recorded file to PC and use audacity to play it back
using 1.5x speed, the recording seems O.K.

Checking codec register values trough
/proc/asound/ac97audio/codec97#0/ac97#0-0+regs it seems that the
sample rates are set O.K. to 48kHz.

Any idea what might be wrong?
Is there anything else I can check?

Thanks and BR,
Matej
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux