Added missing xaudio2 header from WINE that is free to use (nw)

This commit is contained in:
Miodrag Milanovic 2016-03-05 08:57:59 +01:00
parent a38c82c236
commit 298ce35d64
4 changed files with 6503 additions and 1199 deletions

6491
3rdparty/compat/mingw/xaudio2.h vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -445,9 +445,11 @@ if _OPTIONS["USE_XAUDIO2"]=="1" then
defines {
"USE_XAUDIO2=1",
},
configuration { "mingw*"}
includedirs {
MAME_DIR .. "3rdparty/win81sdk/Include/um",
MAME_DIR .. "3rdparty/compat/mingw",
}
configuration { }
else
defines {
"USE_XAUDIO2=0",

View File

@ -38,6 +38,13 @@
#include "emu.h"
#include "osdepend.h"
#include "emuopts.h"
#if !defined(XAUDIO2_DLL)
#if defined(UNICODE)
#define XAUDIO2_DLL L"xaudio2_8.dll"
#else
#define XAUDIO2_DLL "xaudio2_8.dll"
#endif
#endif
//============================================================
// Constants