Question about soc_pcm_pointer()
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Tue Apr 20 01:53:29 CEST 2021
Hi ALSA ML
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).
static snd_pcm_uframes_t soc_pcm_pointer(...)
{
...
^ for_each_rtd_cpu_dais(rtd, i, cpu_dai)
(A) cpu_delay = max(cpu_delay, ...);
v delay += cpu_delay;
^ for_each_rtd_codec_dais(rtd, i, codec_dai)
(B) codec_delay = max(codec_delay, ...);
v delay += codec_delay;
runtime->delay = delay;
...
}
But I guess All-DAI's max delay is very enough for it.
What do you think ?
Thank you for your help !!
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list