diff options
-rw-r--r-- | OpenAL32/Include/alFilter.h | 10 | ||||
-rw-r--r-- | OpenAL32/alExtension.c | 1 |
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 }, |