[vlc-devel] [RFC PATCH 2/2] alsa: implement non-blocking play()

Thomas Guillem thomas at gllm.fr
Tue Mar 12 20:59:30 CET 2019


On Tue, Mar 12, 2019, at 20:48, RĂ©mi Denis-Courmont wrote:
> 
> Wait less than necessary and you might have no space. Wait more and you risk an underrun.

No space is okay. The play must be in a loop and you should always wait a little less than calculated. Maybe this approach is not precise enough, but I think it's ok for our usecase. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190312/7d11da69/attachment.html>


More information about the vlc-devel mailing list