[alsa-devel] SND_SOC_DAIFMT_NB_NF meaning
broonie at sirena.org.uk
Wed Dec 17 12:01:44 CET 2008
On Tue, Dec 16, 2008 at 07:27:30PM -0700, Troy Kisky wrote:
> A quick question here. Does SND_SOC_DAIFMT_NB_NF have a standard meaning
> or does it depend on what mode your in (I2S, DSP_A, right just). From
> looking at the sources, SND_SOC_DAIFMT_NB_NF usually means that data is
> valid on the rising BCLK and start of frame is rising edge if DSP mode.
It means whatever is normal for the mode the bus is in (I2S, DSP_A and
so on) - hence the name.
> The reason I ask, is that I'd like to pass the same flags to the codec and
> the cpu_dai and have them agree with the interpretation.
That is the intention. Anything that's doing something else is buggy.
More information about the Alsa-devel