mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 05:16:12 +00:00
(Android) Add fallback for API level 17 audio buffer size path if
high audio latency is enabled
This commit is contained in:
parent
d13542f12b
commit
692f8892aa
@ -270,6 +270,9 @@ public class MainMenuActivity extends PreferenceActivity {
|
||||
buffersize = getLowLatencyBufferSize();
|
||||
if (config.getBoolean("audio_high_latency") == false) {
|
||||
config.setInt("audio_latency", buffersize / 32);
|
||||
} else {
|
||||
config.setInt("audio_latency",
|
||||
prefs.getBoolean("audio_high_latency", false) ? 160 : 64);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user