[vlc-devel] [RFC PATCH 2/2] alsa: implement non-blocking play()
Rémi Denis-Courmont
remi at remlab.net
Tue Mar 12 22:10:12 CET 2019
No space is okay on a spurious basis, sure. But you don't want to busy loop or to have stupidly short timers.
Le 12 mars 2019 21:59:30 GMT+02:00, Thomas Guillem <thomas at gllm.fr> a écrit :
>
>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.
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190312/75ac0d47/attachment.html>
More information about the vlc-devel
mailing list