[alsa-devel] at91 SoC Modifications

Paul Kavan pkavan at gmail.com
Wed Jun 20 23:46:11 CEST 2007


Working on my new format. Backed up at91-ssc.c and now writing a supplement
to it including my new format, which I will dub SND_SOC_DAIFMT_PCM_L unless
someone has an objection to that.

I need to define it in sound/soc.h I notice the other defs as:

#define SND_SOC_DAIFMT_I2S        0    /* I2S mode */
#define SND_SOC_DAIFMT_RIGHT_J    1    /* Right justified mode */
#define SND_SOC_DAIFMT_LEFT_J    2    /* Left Justified mode */
#define SND_SOC_DAIFMT_DSP_A    3    /* L data msb after FRM or LRC */
#define SND_SOC_DAIFMT_DSP_B    4    /* L data msb during FRM or LRC */
#define SND_SOC_DAIFMT_AC97        5    /* AC97 */

so, could I add a line:

#define SND_SOC_DAIFMT_PCM_L    6    /* PCM Long Sync Format*/

..without too many hassles? Just want to make sure i am not violating a
standard or something.


Paul David Kavan
Project Engineer
GRH Electronics, Inc.
pkavan at gmail.com

More information about the Alsa-devel mailing list