Re: WM9712 - Big and little endian format conversion.

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

 



On Wed, May 13, 2009 at 1:59 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, May 13, 2009 at 01:55:43PM -0400, Jon Smirl wrote:
>> I have three areas specifying audio formats. The WM9712 AC97 codec is
>> S16_LE. My DMA hardware is S32_BE. All samples need to be in 32b words
>> even if they are 8,16,24b.  The cpu's AC97 system sends the first 20
>> big endian bits down the AC97 link in the proper order.
>
>> How can I force the DMA engine setting to override what the codec is
>> saying? Or should the codec be changed to specify all bit lengths and
>> both endians?
>
> In this specific case there's now a standard define for the AC97 codecs
> to use for the formats in current ASoC, add all the formats supported by
> your CPU to that and all the AC97 codecs will pick it up automatically.
> It's called SND_SOC_STD_AC97_FMTS, defined in the DAI header file.

Which tree is this in?

-- 
Jon Smirl
jonsmirl@xxxxxxxxx
_______________________________________________
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