[alsa-devel] What about symmetric_channels and symmetric_samplebits?

Mark Brown broonie at kernel.org
Mon Nov 4 17:17:03 CET 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131104/b67eba4c/attachment.sig>


More information about the Alsa-devel mailing list