diff --git a/config.def.h b/config.def.h index d5fb661262..fa02873388 100644 --- a/config.def.h +++ b/config.def.h @@ -187,8 +187,6 @@ enum #define AUDIO_DEFAULT_DRIVER AUDIO_AL #elif defined(HAVE_SL) #define AUDIO_DEFAULT_DRIVER AUDIO_SL -#elif defined(HAVE_DSOUND) -#define AUDIO_DEFAULT_DRIVER AUDIO_DSOUND #elif defined(EMSCRIPTEN) #define AUDIO_DEFAULT_DRIVER AUDIO_RWEBAUDIO #elif defined(HAVE_SDL) @@ -197,6 +195,8 @@ enum #define AUDIO_DEFAULT_DRIVER AUDIO_SDL2 #elif defined(HAVE_XAUDIO) #define AUDIO_DEFAULT_DRIVER AUDIO_XAUDIO +#elif defined(HAVE_DSOUND) +#define AUDIO_DEFAULT_DRIVER AUDIO_DSOUND #elif defined(HAVE_RSOUND) #define AUDIO_DEFAULT_DRIVER AUDIO_RSOUND #elif defined(HAVE_ROAR)