[alsa-devel] Question about TDM "slot"

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Nov 17 09:49:20 CET 2015


Hi

I would like to ask you about what does TDM "slot" mean on
snd_soc_of_parse_tdm_slot() / snd_soc_dai_set_tdm_slot().
Is slot = 3 in this case ?

  |     |--- 2ch --> |       |
  | CPU |--- 2ch --> | Codec |
  |     |--- 2ch --> |       |  total 6ch

If this is correct, I have other question about slot_width.
snd_soc_dai_set_tdm_slot comments say

	slot_width: Width in bits for each slot.

Does this mean it will be 2ch x system word bit ?
I know some codec chip have below style.
Does it unexpected ?

  |     |--- 8ch --> |       |
  | CPU |--- 4ch --> | Codec | total 12ch

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list