From 34d58fd4c38510d6a07d0ac73d3756018994d629 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 3 Oct 2015 07:20:54 +0200 Subject: [PATCH] Set Xaudio as default driver for Windows --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)