aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-17 22:42:38 -0800
committerChris Robinson <[email protected]>2007-12-17 22:42:38 -0800
commit168d8e3beee5f809f79f6d0067cd51e25ba65295 (patch)
tree6015887ebc558845f681206dc26d59931f19acf6 /OpenAL32/Include
parent654788f2cf0bc9bf4fe5ee7a1ef61fd3e7b2b650 (diff)
Add AL_FILTER_LOWPASS support
Direct filters only, since auxiliary sends and slots aren't available yet
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alFilter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index b1a61d59..038304e8 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -14,11 +14,18 @@ extern "C" {
#define AL_FILTER_HIGHPASS 0x0002
#define AL_FILTER_BANDPASS 0x0003
+#define AL_LOWPASS_GAIN 0x0001
+#define AL_LOWPASS_GAINHF 0x0002
+
+
typedef struct ALfilter_struct
{
// Filter type (AL_FILTER_NULL, ...)
ALenum type;
+ ALfloat Gain;
+ ALfloat GainHF;
+
// Index to itself
ALuint filter;