src/audio/xaudio2/SDL_xaudio2.c
changeset 6161 84e12f37b20c
parent 6138 4c64952a58fb
child 6352 a9bcd26e7105
equal deleted inserted replaced
6160:79c33569d463 6161:84e12f37b20c
    28 #include "../SDL_sysaudio.h"
    28 #include "../SDL_sysaudio.h"
    29 #include "SDL_assert.h"
    29 #include "SDL_assert.h"
    30 
    30 
    31 #include <dxsdkver.h> /* XAudio2 exists as of the March 2008 DirectX SDK */
    31 #include <dxsdkver.h> /* XAudio2 exists as of the March 2008 DirectX SDK */
    32 #if (!defined(_DXSDK_BUILD_MAJOR) || (_DXSDK_BUILD_MAJOR < 1284))
    32 #if (!defined(_DXSDK_BUILD_MAJOR) || (_DXSDK_BUILD_MAJOR < 1284))
    33 #  warning Your DirectX SDK is too old. Disabling XAudio2 support.
    33 #  pragma message("Your DirectX SDK is too old. Disabling XAudio2 support.")
    34 #else
    34 #else
    35 #  define SDL_XAUDIO2_HAS_SDK 1
    35 #  define SDL_XAUDIO2_HAS_SDK 1
    36 #endif
    36 #endif
    37 
    37 
    38 #ifdef SDL_XAUDIO2_HAS_SDK
    38 #ifdef SDL_XAUDIO2_HAS_SDK