aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-27 19:14:02 -0700
committerChris Robinson <[email protected]>2013-05-27 19:14:02 -0700
commitfeeec3433377d46f71771c3930e5e00bf9834feb (patch)
tree7f35880242639f791f65753d341e923b73e877c6 /OpenAL32/Include
parentbcf4842eb3f226faa83e2343e2492dda31386c20 (diff)
Use ALfilterState for the source direct and send filters
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alFilter.h2
-rw-r--r--OpenAL32/Include/alSource.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index f70b839e..9273f15c 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -47,6 +47,8 @@ ALfloat lpCoeffCalc(ALfloat g, ALfloat cw);
typedef enum ALfilterType {
+ ALfilterType_LowPass,
+
ALfilterType_HighShelf,
ALfilterType_LowShelf,
ALfilterType_Peaking,
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index bd1b2931..8766c85e 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -61,8 +61,7 @@ typedef struct DirectParams {
* target (eg. FrontLeft). Not used with HRTF. */
ALfloat Gains[MaxChannels][MaxChannels];
- /* A low-pass filter, using 2 chained one-pole filters. */
- FILTER Filter[MaxChannels];
+ ALfilterState Filter[MaxChannels];
} DirectParams;
typedef struct SendParams {
@@ -72,8 +71,7 @@ typedef struct SendParams {
* output buffer. */
ALfloat Gain;
- /* A low-pass filter, using 2 chained one-pole filters. */
- FILTER Filter[MaxChannels];
+ ALfilterState Filter[MaxChannels];
} SendParams;