mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 14:54:10 +00:00
Use 44.1kHz audio on Android.
Should be toggleable (or use autodetect if present on Android 4.2+). Fixes audio on Nexus 10 in my test case.
This commit is contained in:
parent
510ed100e8
commit
88e59454a5
@ -354,6 +354,7 @@ public class RetroArch extends Activity implements
|
||||
private void updateConfigFile() {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
|
||||
config.setBoolean("audio_rate_control", prefs.getBoolean("audio_rate_control", true));
|
||||
config.setInt("audio_out_rate", 44100); // Much better than 48000 on Nexus 10, need to investigate. Could fix most audio issues on Android.
|
||||
config.setBoolean("audio_enable", prefs.getBoolean("audio_enable", true));
|
||||
config.setBoolean("video_smooth", prefs.getBoolean("video_smooth", true));
|
||||
config.setBoolean("video_allow_rotate", prefs.getBoolean("video_allow_rotate", true));
|
||||
|
Loading…
x
Reference in New Issue
Block a user