diff --git a/Packaging/windows/mingw-prep.sh b/Packaging/windows/mingw-prep.sh index 54aaf42be..4d568570b 100755 --- a/Packaging/windows/mingw-prep.sh +++ b/Packaging/windows/mingw-prep.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -SDLDEV_VERS=2.0.18 +SDLDEV_VERS=2.0.20 SODIUM_VERS=1.0.18 # exit when any command fails diff --git a/Source/options.cpp b/Source/options.cpp index 2c6a19bfd..a3d9a55cc 100644 --- a/Source/options.cpp +++ b/Source/options.cpp @@ -44,7 +44,7 @@ namespace devilution { #define DEFAULT_AUDIO_BUFFER_SIZE 2048 #endif #ifndef DEFAULT_AUDIO_RESAMPLING_QUALITY -#define DEFAULT_AUDIO_RESAMPLING_QUALITY 5 +#define DEFAULT_AUDIO_RESAMPLING_QUALITY 3 #endif namespace { diff --git a/Source/utils/display.cpp b/Source/utils/display.cpp index a1b875da2..520faa09e 100644 --- a/Source/utils/display.cpp +++ b/Source/utils/display.cpp @@ -192,12 +192,6 @@ bool SpawnWindow(const char *lpWindowName) SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0"); #endif -#if defined(_WIN32) && !defined(USE_SDL1) && !defined(__UWP__) - // The default WASAPI backend causes distortions - // https://github.com/diasurgical/devilutionX/issues/1434 - SDL_setenv("SDL_AUDIODRIVER", "winmm", /*overwrite=*/false); -#endif - int initFlags = SDL_INIT_VIDEO | SDL_INIT_JOYSTICK; #ifndef NOSOUND initFlags |= SDL_INIT_AUDIO;