[SDL] MinGW and XAudio support
Sik the hedgehog
sik.the.hedgehog at gmail.com
Fri Mar 1 06:49:59 PST 2013
In SDL_config_windows.h the following lines are present:
#define SDL_AUDIO_DRIVER_XAUDIO2 1
If I recall correctly, the logic behind that #ifndef is that MinGW
doesn't include XAudio, so it's never even considered. However, I
installed MinGW-w64 as a cross compiler, and these files are present
in both /usr/i686-w64-mingw32/lib and /usr/x86_64-w64-mingw32/lib:
That seems to imply XAudio is indeed included. However, XAudio2.h
seems to be completely missing from /usr/i686-w64-mingw32/include and
/usr/x86_64-w64-mingw32/include (which makes the situation odd - is
XAudio there or not after all?).
Anyway, should that #ifndef still be there?
More information about the SDL