4 Nov
2013
4 Nov
'13
5:17 p.m.
On Mon, Nov 04, 2013 at 07:02:51PM +0800, Nicolin Chen wrote:
In soc-pcm.c, we have soc_pcm_apply_symmetry() to solve unmatched sample rates situation for simultaneous playback and capture. But we don't have one for channels. Is that reasonable to add a similar one for it?
Yes.
Likewise, we can treat symmetric_rate as a solution for those SoCs or CODECs which can not handle asymmetrical LRCLK. But it's also impossible for them to handle asymmetrical BCLK. And accodring to BCLK = LRCLK * channel number * slot size(fixed or sample bits), sample bits might also be a problem if they are not using a fixed slot size.
We could add core support for that constraint too, yes.