[vlc-devel] Reworking OpenSLES audio output
Hugo Beauzee-Luyssen
beauze.h at gmail.com
Tue May 3 22:44:49 CEST 2011
2011/5/3 Rémi Denis-Courmont <remi at remlab.net>:
> 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?
As I clearly don't have any idea of what would be the best solution,
I'd love some piece of advice so the code can be merged faster.
>
>> 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.
>
If you come to understand I was planning on waiting in the callback,
then I've been misunderstood.
Regards,
--
Hugo Beauzée-Luyssen
More information about the vlc-devel
mailing list