(Android) Add fallback for API level 17 audio buffer size path if

high audio latency is enabled
This commit is contained in:
twinaphex 2013-08-24 05:22:25 +02:00
parent d13542f12b
commit 692f8892aa

View File

@ -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 {