aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-17 07:54:25 -0700
committerChris Robinson <[email protected]>2014-05-17 07:54:25 -0700
commit82dd2d875e9b7549eaa63f9d1a3e08635aafa524 (patch)
tree7991685c891870e54f4dff7629f7e609bb23d7cd /OpenAL32/Include/alu.h
parent3a26ebef0bbe62f3143c5cb3de0e108f0bcb8b91 (diff)
Apply high-pass source filters as needed
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index dd13a293..a3749ea1 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -42,6 +42,8 @@ extern "C" {
enum ActiveFilters {
AF_None = 0,
AF_LowPass = 1,
+ AF_HighPass = 2,
+ AF_BandPass = AF_LowPass | AF_HighPass
};
typedef struct HrtfState {
@@ -61,6 +63,7 @@ typedef struct DirectParams {
enum ActiveFilters Filters[MAX_INPUT_CHANNELS];
ALfilterState LpFilter[MAX_INPUT_CHANNELS];
+ ALfilterState HpFilter[MAX_INPUT_CHANNELS];
/* If not 'moving', gain/coefficients are set directly without fading. */
ALboolean Moving;
@@ -94,6 +97,7 @@ typedef struct SendParams {
enum ActiveFilters Filters[MAX_INPUT_CHANNELS];
ALfilterState LpFilter[MAX_INPUT_CHANNELS];
+ ALfilterState HpFilter[MAX_INPUT_CHANNELS];
ALboolean Moving;
ALuint Counter;