All of lore.kernel.org
 help / color / mirror / Atom feed
* How to specify data format if playback/capture were different ?
@ 2013-05-21  2:47 Kuninori Morimoto
  2013-05-21 11:58 ` Lars-Peter Clausen
  0 siblings, 1 reply; 9+ messages in thread
From: Kuninori Morimoto @ 2013-05-21  2:47 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA, Simon, Liam Girdwood, Kuninori Morimoto


Hi Mark, and ALSA ML

Now, I'm creating ak4554 AD/DA.
My question is about data format.

If my understand is correct,
we can specify cpu/codec deivce data format by using

	snd_soc_dai_set_fmt(dai, SND_SOC_DAIFMT_xxx);

But, ak4554 case, data formats are
 playback : SND_SOC_DAIFMT_RIGHT_J
 capture  : SND_SOC_DAIFMT_LEFT_J
and, it can't exchange this data format.

CPU driver should set these information for ak4554 when playback/capture.

Then, how to specify these data format on ALSA SoC ?

Best regards
---
Kuninori Morimoto

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

end of thread, other threads:[~2013-05-26 20:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-21  2:47 How to specify data format if playback/capture were different ? Kuninori Morimoto
2013-05-21 11:58 ` Lars-Peter Clausen
2013-05-22  1:02   ` Kuninori Morimoto
2013-05-22  1:12     ` Kuninori Morimoto
2013-05-22  8:43       ` Lars-Peter Clausen
2013-05-22  8:54         ` Kuninori Morimoto
2013-05-22 11:41           ` Lars-Peter Clausen
2013-05-24  3:18             ` Kuninori Morimoto
2013-05-25 20:03               ` 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.