Permalink
Browse files

front: new key for number of audio buffers

  • Loading branch information...
fzurita committed Feb 27, 2016
1 parent 8716fda commit e68c94501a0313963def6dd51c5b6644495a28df
@@ -778,7 +778,7 @@ void* audioConsumer(void* param)
soundTouch.setSampleRate(GameFreq);
soundTouch.setChannels(2);
soundTouch.setSetting( SETTING_USE_QUICKSEEK, 0 );
soundTouch.setSetting( SETTING_USE_AA_FILTER, 0 );
soundTouch.setSetting( SETTING_USE_AA_FILTER, 1 );
soundTouch.setSetting( SETTING_SEQUENCE_MS, sequenceLenMS );
soundTouch.setSetting( SETTING_SEEKWINDOW_MS, seekWindowMS );
soundTouch.setSetting( SETTING_OVERLAP_MS, overlapMS );
@@ -140,8 +140,8 @@
android:summary="@string/selectedValue"
android:title="@string/audioSLESBufferSize_title" />
<paulscode.android.mupen64plusae.preference.SeekBarPreference
android:defaultValue="15"
android:key="audioSLESBufferNbr"
android:defaultValue="20"
android:key="audioSLESBufferNbr2"
android:title="@string/audioSLESBufferNbr_title"
mupen64:maximumValue="50"
mupen64:minimumValue="2"
@@ -396,7 +396,7 @@ public GlobalPrefs( Context context, AppData appData )
audioSwapChannels = mPreferences.getBoolean( "audioSwapChannels", false );
audioSDLSecondaryBufferSize = getSafeInt( mPreferences, "audioSDLBufferSize", 2048 );
audioSLESSecondaryBufferSize = getSafeInt( mPreferences, "audioSLESBufferSize", 1024 );
audioSLESSecondaryBufferNbr = getSafeInt( mPreferences, "audioSLESBufferNbr", 2 );
audioSLESSecondaryBufferNbr = getSafeInt( mPreferences, "audioSLESBufferNbr2", 20 );
if( audioPlugin.enabled )
isFramelimiterEnabled = !mPreferences.getBoolean( "audioSynchronize", true );
@@ -64,7 +64,7 @@
private static final int VIDEO_HARDWARE_TYPE_CUSTOM = 999;
private static final String AUDIO_SDL_BUFFER_SIZE = "audioSDLBufferSize";
private static final String AUDIO_SLES_BUFFER_SIZE = "audioSLESBufferSize";
private static final String AUDIO_SLES_BUFFER_NBR = "audioSLESBufferNbr";
private static final String AUDIO_SLES_BUFFER_NBR = "audioSLESBufferNbr2";
private static final String AUDIO_SYNCHRONIZE = "audioSynchronize";
private static final String AUDIO_SWAP_CHANNELS = "audioSwapChannels";
private static final String NAVIGATION_MODE = "navigationMode";

0 comments on commit e68c945

Please sign in to comment.