[Android] Set AOUT_AUDIOTRACK_JAVA by default

Geoffrey Métais git at videolan.org
Fri Jan 23 17:10:41 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jan 23 12:28:30 2015 +0100| [c51ee4c2ea7e136135dd59182492fd1a71d35935] | committer: Geoffrey Métais

Set AOUT_AUDIOTRACK_JAVA by default

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

 vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
index cea10ea..43aebc4 100644
--- a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
@@ -242,9 +242,7 @@ public class PreferencesActivity extends PreferenceActivity implements OnSharedP
         aoutPref.setEntries(aoutEntriesId);
         aoutPref.setEntryValues(aoutEntriesIdValues);
         if (aoutPref.getValue() == null)
-            aoutPref.setValue(LibVlcUtil.isGingerbreadOrLater()
-                    ? "2"/*AOUT_OPENSLES*/
-                            : "0"/*AOUT_AUDIOTRACK_JAVA*/);
+            aoutPref.setValue("0"/*AOUT_AUDIOTRACK_JAVA*/);
         // Video output
         ListPreference voutPref = (ListPreference) findPreference("vout");
         int voutEntriesId = LibVlcUtil.isGingerbreadOrLater() ? R.array.vouts : R.array.vouts_froyo;



More information about the Android mailing list