From 269dbc6fefd0d51809c907e3491dfa930202770c Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 17 Jan 2025 21:45:07 +0100 Subject: [PATCH] set sdl audio resampling mode to highest quality --- src/sdl/mixer_sound.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index 8059a93df..ece2da15e 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -185,6 +185,8 @@ void I_StartupSound(void) SDL_setenv("SDL_AUDIODRIVER", "directsound", 1); #endif + SDL_SetHint(SDL_HINT_AUDIO_RESAMPLING_MODE, "3"); + // EE inits audio first so we're following along. if (SDL_WasInit(SDL_INIT_AUDIO) == SDL_INIT_AUDIO) {