20 Apr
2021
20 Apr
'21
1:53 a.m.
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