From 2646b95c4b34a0b97426dfc5a9cc5d9423ac889f Mon Sep 17 00:00:00 2001 From: Xerxes Rånby Date: Sat, 26 Jan 2013 01:26:59 +0100 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Xerxes Rånby --- make/stub_includes/openal/eax.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 make/stub_includes/openal/eax.h 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 */ -- cgit v1.2.3