aboutsummaryrefslogtreecommitdiffstats
path: root/include/AL/alext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-28 13:38:30 -0700
committerChris Robinson <[email protected]>2015-10-28 13:38:30 -0700
commit35c4aae3d6383ef809786b8ca1b4fa56fb98035f (patch)
tree749bcf598644d835ca75f25c3b703c2c152ce5b6 /include/AL/alext.h
parentb7a6a7da6abbd73bc718f56d23d96ee162b05476 (diff)
Finalize ALC_SOFT_HRTF
Diffstat (limited to 'include/AL/alext.h')
-rw-r--r--include/AL/alext.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/AL/alext.h b/include/AL/alext.h
index cb498b4e..6af581aa 100644
--- a/include/AL/alext.h
+++ b/include/AL/alext.h
@@ -409,6 +409,28 @@ ALC_API void ALC_APIENTRY alcDeviceResumeSOFT(ALCdevice *device);
#define AL_FORMAT_BFORMAT3D_MULAW 0x10032
#endif
+#ifndef ALC_SOFT_HRTF
+#define ALC_SOFT_HRTF 1
+#define ALC_HRTF_SOFT 0x1992
+#define ALC_DONT_CARE_SOFT 0x0002
+#define ALC_HRTF_STATUS_SOFT 0x1993
+#define ALC_HRTF_DISABLED_SOFT 0x0000
+#define ALC_HRTF_ENABLED_SOFT 0x0001
+#define ALC_HRTF_DENIED_SOFT 0x0002
+#define ALC_HRTF_REQUIRED_SOFT 0x0003
+#define ALC_HRTF_HEADPHONES_DETECTED_SOFT 0x0004
+#define ALC_HRTF_UNSUPPORTED_FORMAT_SOFT 0x0005
+#define ALC_NUM_HRTF_SPECIFIERS_SOFT 0x1994
+#define ALC_HRTF_SPECIFIER_SOFT 0x1995
+#define ALC_HRTF_ID_SOFT 0x1996
+typedef const ALCchar* (ALC_APIENTRY*LPALCGETSTRINGISOFT)(ALCdevice *device, ALCenum paramName, ALCsizei index);
+typedef ALCboolean (ALC_APIENTRY*LPALCRESETDEVICESOFT)(ALCdevice *device, const ALCint *attribs);
+#ifdef AL_ALEXT_PROTOTYPES
+ALC_API const ALCchar* ALC_APIENTRY alcGetStringiSOFT(ALCdevice *device, ALCenum paramName, ALCsizei index);
+ALC_API ALCboolean ALC_APIENTRY alcResetDeviceSOFT(ALCdevice *device, const ALCint *attribs);
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif