[Android] Workaround for OpenSL ES bug
Martin Storsjö
martin at martin.st
Sat Feb 1 14:54:57 CET 2014
On Sat, 1 Feb 2014, Martin Storsjö wrote:
> The attached two patches avoids the OpenSL ES resampling bug (with 48 kHz
> audio on Nexus 7). The callbacks from vlc modules back to functions in
> libvlcjni isn't too nice, but required in one way or another in order to do
> this, since OpenSL ES itself does not provide the native sampling rate.
Thanks Rafaël for looking at it and applying it. For reference, the
related bug report is http://b.android.com/59453 and two alternative
patches for fixing it within Android are
https://android-review.googlesource.com/71022 and
https://android-review.googlesource.com/80652. (Note the list of pings on
the former before anything happened.)
// Martin
More information about the Android
mailing list