Re: More snd_pcm_ioplug_avail_update() questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux