[vlc-devel] [PATCH 0/8] asynchronous aout stream

Remi Denis-Courmont remi at remlab.net
Sun Mar 10 18:27:28 CET 2019

Le 2019-03-10 18:26, Thomas Guillem a écrit :
> If the aout plugin is configured for a given
> buffer size, we should not increase it by having an external queue.

Leaving aside pathological cases where the buffers are just too short, I 


> I
> really prefer to wait from the core using a cond/mutex (so that we can
> still control the aout).

That's also just moving the problem. You still need the audio output 
plugin to call an underrun notifier to wake the condition variable or 
the semaphore when buffer space is available.

So in the end, the only difference is where you queue the orveflowing 
data, in the core or in the plugin. But it needs to be queued somewhere.

Rémi Denis-Courmont

More information about the vlc-devel mailing list