[alsa-devel] Question about TDM "slot"

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Nov 18 08:29:01 CET 2015


Hi Mark

> > 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
> 
> No, 6 - it's expected to be one slot per channel.

Thanks. We can have total channel number.
Then do we have common DT settings/method to indicate below ?
I guess we need this settings on both CPU/Codec.

6ch
 - 2ch x 3
 - 6ch x 1
 - ...

12ch
 - 4ch x 3
 - 12ch x 1
 - 8ch x 1 + 4ch x 1
 - ...

Moreover, my IP can output 6ch x 1 sound via 8ch wide
(= with empty 2ch).
I guess I need this settings on both CPU/Codec too.
Do we have common settings/method ?


More information about the Alsa-devel mailing list