[Android] Workaround for OpenSL ES bug
Rafaël Carré
funman at videolan.org
Tue Feb 11 07:34:56 CET 2014
On 02/10/14 21:56, Martin Storsjö wrote:
> On Sat, 1 Feb 2014, Martin Storsjö wrote:
>
>> 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.)
>
> For the record, the fix for this bug was finally merged in AOSP today, so
> unless things change more in a bad way, this bug should be fixed in the
> next major android release (unless that release is coming up so soon so
> that my merged fixes only get into next+1..).
Thanks and congrats on the fix
> // Martin
More information about the Android
mailing list