[alsa-devel] More snd_pcm_ioplug_avail_update() questions

Rob Duncan rduncan at tesla.com
Mon Jul 30 20:55:45 CEST 2018


At 08:14 on Thu, Jul 26 2018, Takashi wrote:

> Maybe we can track the own applptr (e.g. transfer_ptr or such) and
> calculate the transfer size from it instead of snd_pcm_mmap_begin();
> i.e. write some open codes of alternative snd_pcm_mmap_begin() there.
>
> Then transfer_ptr is updated again in snd_pcm_ioplug_mmap_commit() as
> well when applptr is updated.
>
> Of course, there is a smarter way, I'd happily take another approach.

Thanks for the hint.  I'm not sure I 100% understand your suggestion,
though.  Unfortunately I don't think I'll have an opportunity to try
this for a few weeks.

Rob.


More information about the Alsa-devel mailing list