[alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function
Takashi Iwai
tiwai at suse.de
Tue Jul 31 12:32:59 CEST 2018
On Tue, 31 Jul 2018 12:19:43 +0200,
Mark Brown wrote:
>
> On Tue, Jul 31, 2018 at 11:25:11AM +0200, Takashi Iwai wrote:
>
> > It's not necessary that all CPU dais provide the pointer callback.
> > My suggestion is that, if CPU dai *wants* to provide the base delay,
> > it must be tied with the position value, hence it should provide the
> > pointer callback. If CPU dai has a pointer callback,
> > snd_soc_pcm_pointer() skips the component pointer callback but uses
> > CPU dai pointer callback instead.
>
> However since it's not supposed to be providing any DMA a CPU DAI really
> shouldn't be doing this...
Well, if so, the CPU dai also cannot get the exact base delay
corresponding to the reported position, either, no?
Takashi
More information about the Alsa-devel
mailing list