More snd_pcm_ioplug_avail_update() questions

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

 



Is it required that all available data has been committed between calls
to snd_pcm_ioplug_avail_update() on an IO plugin capture stream?

If this is not a requirement then there can still be uncommitted data in
the mmap after the current appl_ptr.  This data will get overwritten by
the transfer call.

If it is a requirement then snd_pcm_rate_avail_update() seems to be
doing the wrong thing, because it only commits in units of the period
size, which means that there could be a partial period left in the mmap.

Can someone clarify what the contract is for these calls?

Thanks,

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