aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-17 15:49:26 -0800
committerChris Robinson <[email protected]>2007-12-17 15:49:26 -0800
commitf6bb6cc8919a11a62b479bc34673a4f69566b160 (patch)
treeaff340d044d8a3a1b9fcdee9b2c831a9fbb59711 /OpenAL32
parent56ff7474630803153f685ff5b6185c418bb562d1 (diff)
Add AL_FILTER_TYPE enum
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alFilter.h10
-rw-r--r--OpenAL32/alExtension.c1
2 files changed, 7 insertions, 4 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index a223a5aa..f46f7364 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -7,10 +7,12 @@
extern "C" {
#endif
-#define AL_FILTER_NULL 0x0000
-#define AL_FILTER_LOWPASS 0x0001
-#define AL_FILTER_HIGHPASS 0x0002
-#define AL_FILTER_BANDPASS 0x0003
+#define AL_FILTER_TYPE 0x8001
+
+#define AL_FILTER_NULL 0x0000
+#define AL_FILTER_LOWPASS 0x0001
+#define AL_FILTER_HIGHPASS 0x0002
+#define AL_FILTER_BANDPASS 0x0003
typedef struct ALfilter_struct
{
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c
index b31f7c14..f8fc768b 100644
--- a/OpenAL32/alExtension.c
+++ b/OpenAL32/alExtension.c
@@ -211,6 +211,7 @@ static ALenums enumeration[]={
{ (ALchar *)"AL_EXPONENT_DISTANCE_CLAMPED", AL_EXPONENT_DISTANCE_CLAMPED },
// Filter types
+ { (ALchar *)"AL_FILTER_TYPE", AL_FILTER_TYPE },
{ (ALchar *)"AL_FILTER_NULL", AL_FILTER_NULL },
{ (ALchar *)"AL_FILTER_LOWPASS", AL_FILTER_LOWPASS },
{ (ALchar *)"AL_FILTER_HIGHPASS", AL_FILTER_HIGHPASS },