How to specify that a non-DPCM DAI link is bidirectional?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

For uni-directional  dai links there are these fields of snd_soc_dai_link:
* playback_only
* capture_only

But what about bi-directional DAI links?

Is it safe to assume that if playback_only = 0 and capture_only = 0
then the link is bi-directional?

We need this in sound/soc/soc-core.c: soc_check_tplg_fes
where a non-DPCM link is converted to a BE DPCM and we
need to inherit the directions supported.

For reference see: https://github.com/thesofproject/linux/pull/2143

thanks,
Daniel.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux