All of lore.kernel.org
 help / color / mirror / Atom feed
* SND_SOC_DAIFMT_NB_NF meaning
@ 2008-12-17  2:27 Troy Kisky
  2008-12-17 11:01 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Troy Kisky @ 2008-12-17  2:27 UTC (permalink / raw)
  To: alsa-devel



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.
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.


Thanks
Troy

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SND_SOC_DAIFMT_NB_NF meaning
  2008-12-17  2:27 SND_SOC_DAIFMT_NB_NF meaning Troy Kisky
@ 2008-12-17 11:01 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2008-12-17 11:01 UTC (permalink / raw)
  To: Troy Kisky; +Cc: alsa-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-17 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17  2:27 SND_SOC_DAIFMT_NB_NF meaning Troy Kisky
2008-12-17 11:01 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.