[vlc-devel] Reworking OpenSLES audio output
beauze.h at gmail.com
Fri May 6 18:23:45 CEST 2011
2011/5/6 Rémi Denis-Courmont <remi at remlab.net>:
> On Fri, 6 May 2011 15:29:35 +0200, Hugo Beauzee-Luyssen
>> New version.
>> Best regards.
> You've made something simple, a timed loop really complicated. There are
> quite many examples how to do that, e.g. ALSA.
I just try with a simple timed loop, results are quite bad.
> Similarly, next_date seems totally useless. That's quite much intricacy to
> compute currentDate = mdate().
> And please use saner indentation and wrap. It's really annoying to read
> with 80 columns.
Should be fixed.
> SLDataFormat_PCM format_pcm could really use named members for
> Anyway, I still believe the PulseAudio infinite leak bug is present. If
> CountAvailableBuffers returns 0, audio buffers are never freed.
Indeed. Does counting the time since last buffer was enqueued, and
discarding some blocks when it's been too long seems ok to you ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14347 bytes
Desc: not available
More information about the vlc-devel