[Android] Aout: use AudioTrack Java by default before Android 4.0
Adrien Maglo
git at videolan.org
Fri Mar 28 20:14:21 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Mar 28 20:10:25 2014 +0100| [47c1d1ae3c9a64aa8eee499890885aa31bb0a553] | committer: Adrien Maglo
Aout: use AudioTrack Java by default before Android 4.0
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=47c1d1ae3c9a64aa8eee499890885aa31bb0a553
---
vlc-android/src/org/videolan/libvlc/LibVLC.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/libvlc/LibVLC.java b/vlc-android/src/org/videolan/libvlc/LibVLC.java
index 6238f01..49ab661 100644
--- a/vlc-android/src/org/videolan/libvlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/libvlc/LibVLC.java
@@ -256,7 +256,7 @@ public class LibVLC {
public void setAout(int aout) {
if (aout < 0)
- this.aout = LibVlcUtil.isGingerbreadOrLater() ? AOUT_OPENSLES : AOUT_AUDIOTRACK_JAVA;
+ this.aout = LibVlcUtil.isICSOrLater() ? AOUT_OPENSLES : AOUT_AUDIOTRACK_JAVA;
else
this.aout = aout;
}
More information about the Android
mailing list