Change default audio output latency to 128ms for Android

This commit is contained in:
twinaphex 2016-01-22 05:00:22 +01:00
parent 346074ee38
commit c5b13de208

View file

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