aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-07-13 01:39:44 -0700
committerChris Robinson <[email protected]>2016-07-13 01:39:44 -0700
commit5106f035df7153efa411feb090ba22b1d756998b (patch)
tree0c6f3249b670564894525a1120a702c90dae89c4 /OpenAL32/Include/alu.h
parente8202b915d63703e6f6dd00a085cefb24ad7b315 (diff)
Move the input channel array out of the DirectParams and SendParams
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 266c0588..9913a117 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -125,35 +125,31 @@ typedef struct MixHrtfParams {
} MixHrtfParams;
typedef struct DirectParams {
- struct {
- enum ActiveFilters ActiveType;
- ALfilterState LowPass;
- ALfilterState HighPass;
- } Filters[MAX_INPUT_CHANNELS];
+ enum ActiveFilters FilterType;
+ ALfilterState LowPass;
+ ALfilterState HighPass;
struct {
HrtfParams Current;
HrtfParams Target;
HrtfState State;
- } Hrtf[MAX_INPUT_CHANNELS];
+ } Hrtf;
struct {
ALfloat Current[MAX_OUTPUT_CHANNELS];
ALfloat Target[MAX_OUTPUT_CHANNELS];
- } Gains[MAX_INPUT_CHANNELS];
+ } Gains;
} DirectParams;
typedef struct SendParams {
- struct {
- enum ActiveFilters ActiveType;
- ALfilterState LowPass;
- ALfilterState HighPass;
- } Filters[MAX_INPUT_CHANNELS];
+ enum ActiveFilters FilterType;
+ ALfilterState LowPass;
+ ALfilterState HighPass;
struct {
ALfloat Current[MAX_OUTPUT_CHANNELS];
ALfloat Target[MAX_OUTPUT_CHANNELS];
- } Gains[MAX_INPUT_CHANNELS];
+ } Gains;
} SendParams;