diff options
author | Xerxes Rånby <[email protected]> | 2013-01-26 01:26:59 +0100 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2013-01-26 01:26:59 +0100 |
commit | 2646b95c4b34a0b97426dfc5a9cc5d9423ac889f (patch) | |
tree | 5f3ea74a8cce2fe1ae7d805d452d09ca55af3800 | |
parent | a801e0f01cf57cf270226238d35ecd751e497172 (diff) |
Re-import OpenAL stub_includes/openal/eax.h required for EAX.
It is still questionable if we want to support EAX
drivers for EAX only exist before Windows Vista.
Many JOAL applications expect the EAX detection code to exist.
Signed-off-by: Xerxes Rånby <[email protected]>
-rw-r--r-- | make/stub_includes/openal/eax.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/make/stub_includes/openal/eax.h b/make/stub_includes/openal/eax.h new file mode 100644 index 0000000..bf0d9b6 --- /dev/null +++ b/make/stub_includes/openal/eax.h @@ -0,0 +1,32 @@ +#ifndef _EAX_H +#define _EAX_H + +#ifdef _WIN32 +#include "windows.h" +#endif + +#include "al.h" + +#ifdef _WIN32 +DEFINE_GUID(DSPROPSETID_EAX20_ListenerProperties, + 0x306a6a8, + 0xb224, + 0x11d2, + 0x99, 0xe5, 0x0, 0x0, 0xe8, 0xd8, 0xc7, 0x22); + +DEFINE_GUID(DSPROPSETID_EAX20_BufferProperties, + 0x306a6a7, + 0xb224, + 0x11d2, + 0x99, 0xe5, 0x0, 0x0, 0xe8, 0xd8, 0xc7, 0x22); +#endif + +#ifdef _WIN32 +typedef ALenum (*EAXSet)(const GUID*, ALuint, ALuint, ALvoid*, ALuint); +typedef ALenum (*EAXGet)(const GUID*, ALuint, ALuint, ALvoid*, ALuint); + +extern EAXSet eaxSet; +extern EAXGet eaxGet; +#endif + +#endif /* _EAX_H */ |