[Android] Force the correct audio AOUT

Jean-Baptiste Kempf git at videolan.org
Fri Oct 19 10:59:30 CEST 2012


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 19 10:58:51 2012 +0200| [1aea9c6598fe23886e03361b94ba77ab22e48ba1] | committer: Jean-Baptiste Kempf

Force the correct audio AOUT

THis should explain the issue people had with crashes and
asynchronisation

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=1aea9c6598fe23886e03361b94ba77ab22e48ba1
---

 vlc-android/jni/libvlcjni.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/jni/libvlcjni.c b/vlc-android/jni/libvlcjni.c
index 3476b71..ff98043 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -42,8 +42,8 @@
 #define LOG_TAG "VLC/JNI/main"
 #include "log.h"
 
-#define AOUT_AUDIOTRACK      0
-#define AOUT_AUDIOTRACK_JAVA 1
+#define AOUT_AUDIOTRACK_JAVA 0
+#define AOUT_AUDIOTRACK      1
 #define AOUT_OPENSLES        2
 
 static jint getInt(JNIEnv *env, jobject thiz, const char* field) {



More information about the Android mailing list