[vlc-devel] Reworking OpenSLES audio output

Rémi Denis-Courmont remi at remlab.net
Tue May 3 22:10:59 CEST 2011


   Hello,

On Tuesday 03 May 2011, Hugo Beauzee-Luyssen wrote:
> Yep I was kinda affraid of that... would having some kind of
> "available buffers" counter that gets incremented by the OpenSLES
> callback, and decremented by the aout thread at each queued buffer
> would be enough ?

Uh? No?

> I'd say having a waid condition in the Play() function is a *really*
> bad idea, I guess you will confirm.

It would be bad, but no worse than waiting in the callback.

-- 
Rémi Denis-Courmont
http://www.remlab.info



More information about the vlc-devel mailing list