30 Jul
2018
30 Jul
'18
6:55 p.m.
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.