Question about soc_pcm_pointer()

Mark Brown broonie at kernel.org
Tue Apr 20 14:44:03 CEST 2021


On Tue, Apr 20, 2021 at 08:53:29AM +0900, Kuninori Morimoto wrote:

> I noticed that current soc-pcm.c :: soc_pcm_pointer() is adding
> both CPU-DAI's max delay (= A)
> and Codec-DAI's max delay (= B).

...

> But I guess All-DAI's max delay is very enough for it.
> What do you think ?

We're looking for the delay through the full audio path so it needs to
be the maximum of the DAIs doing transmit and the maximum of the DAIs
doing receive (ie, all CPUs and all CODECs) rather than just the maximum
of all DAIs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210420/d4cb50c8/attachment.sig>


More information about the Alsa-devel mailing list