From c5b13de2081cb9478a57b0012103ec7f211af1ec Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 22 Jan 2016 05:00:22 +0100 Subject: [PATCH] Change default audio output latency to 128ms for Android --- config.def.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.def.h b/config.def.h index 1be2739e9f..47a2994a9b 100644 --- a/config.def.h +++ b/config.def.h @@ -625,7 +625,12 @@ static const char *audio_device = NULL; /* Desired audio latency in milliseconds. Might not be honored * if driver can't provide given latency. */ +#ifdef ANDROID +/* For most Android devices, 64ms is way too low. */ +static const int out_latency = 128; +#else static const int out_latency = 64; +#endif /* Will sync audio. (recommended) */ static const bool audio_sync = true;