set sdl audio resampling mode to highest quality

This commit is contained in:
Alug committed 2025-01-17 21:45:07 +01:00
1 parent 8346d59a42
commit 269dbc6fef
1 file changed
+2
+2
View File
@@ -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)
{