From cbbdd27ad37dae52532564f9abb8f2c0045080e7 Mon Sep 17 00:00:00 2001 From: Alfred Reynolds Date: Wed, 24 Jun 2015 10:56:51 -0700 Subject: [PATCH] SDL - disable compiling in XAudio2 support. We both need the DX SDK to make this code plus we need to work out the runtime dependency problem this code bring in on windows (needing the DX runtime installed). CR: SamL --- src/audio/xaudio2/SDL_xaudio2.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/audio/xaudio2/SDL_xaudio2.c b/src/audio/xaudio2/SDL_xaudio2.c index fa69fc7bc5c9f..9d685833715ee 100644 --- a/src/audio/xaudio2/SDL_xaudio2.c +++ b/src/audio/xaudio2/SDL_xaudio2.c @@ -65,6 +65,11 @@ The XAudio2 implementation available in the Windows 8 SDK targets Windows 8 and newer. If you want to build SDL with XAudio2 support you should install the DirectX SDK. */ +/* Disable compiling in the XAudio2 support pending fixes to dynamically load the XAudio2 + entry points so we can be robust to user configuration. Also needs to be fixed to build + with the Windows 10 SDK. +*/ +#if 0 /* See comment above */ #include #if (!defined(_DXSDK_BUILD_MAJOR) || (_DXSDK_BUILD_MAJOR < 1284)) # pragma message("Your DirectX SDK is too old. Disabling XAudio2 support.") @@ -72,6 +77,7 @@ # define SDL_XAUDIO2_HAS_SDK 1 #endif #endif +#endif /* 0 */ #ifdef SDL_XAUDIO2_HAS_SDK