[vlc-devel] [RFC PATCH] coreaudio: replace atomic circular buffer by locked block FIFO

RĂ©mi Denis-Courmont remi at remlab.net
Mon Mar 12 22:05:05 CET 2018


It is obvious that the writer(s) (Play callback) should not block the reader(s) (underflow callback) if the FIFO has enough data. And the VLC block FIFO implementation does not currently meet that requirement.

But it is not obvious at all that the OS should forbid it though. If an app fails its deadline, it should only compromise its own stream.
-- 
Remi Denis-Courmont


More information about the vlc-devel mailing list