[Android] Workaround for OpenSL ES bug
Martin Storsjö
martin at martin.st
Sat Feb 1 12:48:26 CET 2014
Hi,
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.
// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opensles-Only-try-the-actual-sampling-rate-if-it-is-.patch
Type: text/x-diff
Size: 2331 bytes
Desc:
URL: <http://mailman.videolan.org/pipermail/android/attachments/20140201/4234d43b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-libvlc-jni-helper-method-for-getting-the-nativ.patch
Type: text/x-diff
Size: 1127 bytes
Desc:
URL: <http://mailman.videolan.org/pipermail/android/attachments/20140201/4234d43b/attachment-0001.patch>
More information about the Android
mailing list