Commit c51ee4c2 authored by Geoffrey Métais's avatar Geoffrey Métais

Set AOUT_AUDIOTRACK_JAVA by default

parent 1ba2a70b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment