mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Change default audio output latency to 128ms for Android
This commit is contained in:
parent
346074ee38
commit
c5b13de208
@ -625,7 +625,12 @@ static const char *audio_device = NULL;
|
|||||||
|
|
||||||
/* Desired audio latency in milliseconds. Might not be honored
|
/* Desired audio latency in milliseconds. Might not be honored
|
||||||
* if driver can't provide given latency. */
|
* 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;
|
static const int out_latency = 64;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Will sync audio. (recommended) */
|
/* Will sync audio. (recommended) */
|
||||||
static const bool audio_sync = true;
|
static const bool audio_sync = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user