Re: Problem with MX27 ASoC audio

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

 



On Wed, Aug 18, 2010 at 4:41 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Aug 18, 2010 at 03:53:16PM +0800, Randolph Chung wrote:
>> > Nonetheless, the system still doesn't behave properly when record and
>> > playback are happening at the same time. Here's a simple test:
>
>> Actually the problem is due to "mismatched" recording and playback
>> rates. My test was recording at 8kHz and playing back at 48kHz. The
>> codec driver only supports playback rate = capture rate. When the
>> playback starts the codec starts clocking at 48kHz which causes the
>> xruns.
>
>> Will see if the codec driver (tlv320aic3x) can be fixed up.
>
> If the CODEC has only a single LRCLK pin then it should be setting the
> symmetric_rates flag in its DAI.  The core will then take care of the
> symmetry requirements for it.
>

The codec (at least the variant of tlv320aic3x that I am using) can
have two pins in the hardware, but it's up to the board whether it's
hooked up that way. The codec driver as currently implemented assumes
the rates are symmetric, but it need not be.

I see that there is a symmetric_rates flag for the dai_link too.
Thanks for the pointer.

randolph
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



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

  Powered by Linux