[alsa-devel] WM9712 - Big and little endian format conversion.

Jon Smirl jonsmirl at gmail.com
Wed May 13 20:20:46 CEST 2009


On Wed, May 13, 2009 at 2:18 PM, Jon Smirl <jonsmirl at gmail.com> wrote:
> On Wed, May 13, 2009 at 2:14 PM, Mark Brown
> <broonie at opensource.wolfsonmicro.com> wrote:
>> On Wed, May 13, 2009 at 02:08:19PM -0400, Jon Smirl wrote:
>>> On Wed, May 13, 2009 at 1:59 PM, Mark Brown
>>
>>> > 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?
>>
>> It's in -next now so it can be seen in Takashi's tree and mine as well
>> - it's commit 33f503c96c976fd585dedb76514ca6cb286e60d9.
>>
>
> Adding S32_BE works for me:
>
> #define SND_SOC_STD_AC97_FMTS (SNDRV_PCM_FMTBIT_S16_LE |\
>                               SNDRV_PCM_FMTBIT_S32_LE |\
>                               SNDRV_PCM_FMTBIT_S32_BE)

Would it work to just put every format here and let the format be
controlled by the platform and CPU DAI?

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Alsa-devel mailing list