From 2c7f42cd261f36dc8136150cc8f69a2da80ca508 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Mon, 12 Oct 2020 06:26:33 -0700 Subject: [PATCH] update audio --- mupen64plus-audio-sdl2/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mupen64plus-audio-sdl2/src/main.c b/mupen64plus-audio-sdl2/src/main.c index 0140735..b86d257 100644 --- a/mupen64plus-audio-sdl2/src/main.c +++ b/mupen64plus-audio-sdl2/src/main.c @@ -172,7 +172,7 @@ EXPORT void CALL AiLenChanged( void ) src_process(src_state, &data); unsigned int audio_queue = SDL_GetQueuedAudioSize(dev); - unsigned int acceptable_latency = (hardware_spec->freq * 0.300) * 8; + unsigned int acceptable_latency = (hardware_spec->freq * 0.200) * 8; unsigned int min_latency = (hardware_spec->freq * 0.020) * 8; unsigned int diff = 0; if (audio_queue > acceptable_latency)