sdl:
authorSam Lantinga <slouken@libsdl.org>
Fri, 18 Dec 2015 18:49:35 -0800
changeset 99638da3e4d25202
parent 9962 73a2ce1cdc02
child 9964 bcb6bd590d03
sdl:

xaudio2 is not linked against sdl but the sdk already handles dynamically loading (XAudio2Create is inlined and just loads a com object). Updated SDL_xaudio2.c
src/audio/xaudio2/SDL_xaudio2.c
     1.1 --- a/src/audio/xaudio2/SDL_xaudio2.c	Fri Dec 18 18:49:23 2015 -0800
     1.2 +++ b/src/audio/xaudio2/SDL_xaudio2.c	Fri Dec 18 18:49:35 2015 -0800
     1.3 @@ -66,14 +66,11 @@
     1.4                                 in the Windows SDK, v.10.0.10240.0 (Win 10's initial SDK)
     1.5                               */
     1.6  #else
     1.7 -/* XAudio2 exists as of the March 2008 DirectX SDK 
     1.8 -   The XAudio2 implementation available in the Windows 8 SDK targets Windows 8 and newer.
     1.9 -   If you want to build SDL with XAudio2 support you should install the DirectX SDK.
    1.10 +/* XAudio2 exists in the last DirectX SDK as well as the latest Windows SDK.
    1.11 +   To enable XAudio2 support, you will need to add the location of your DirectX SDK headers to
    1.12 +   the SDL projects additional include directories and then set SDL_XAUDIO2_HAS_SDK=1 as a
    1.13 +   preprocessor define
    1.14   */
    1.15 -/* Disable compiling in the XAudio2 support pending fixes to dynamically load the XAudio2
    1.16 -   entry points so we can be robust to user configuration. Also needs to be fixed to build
    1.17 -   with the Windows 10 SDK.
    1.18 -*/
    1.19  #if 0 /* See comment above */
    1.20  #include <dxsdkver.h>
    1.21  #if (!defined(_DXSDK_BUILD_MAJOR) || (_DXSDK_BUILD_MAJOR < 1284))