aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-21 03:47:52 -0700
committerChris Robinson <[email protected]>2017-05-21 03:47:52 -0700
commit49e5c535915f52b7888a884f4ed8925682336b28 (patch)
treec43b3af970b86b7cb5840004493cbb9045e629b7 /OpenAL32/Include/alu.h
parent95ea3fdd05d55020c056e549c74def62c508e761 (diff)
Reduce the amount of variables that hold the same value
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index c44f94d4..72b3659c 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -144,7 +144,6 @@ typedef struct MixHrtfParams {
typedef struct DirectParams {
- enum ActiveFilters FilterType;
ALfilterState LowPass;
ALfilterState HighPass;
@@ -163,7 +162,6 @@ typedef struct DirectParams {
} DirectParams;
typedef struct SendParams {
- enum ActiveFilters FilterType;
ALfilterState LowPass;
ALfilterState HighPass;
@@ -279,6 +277,7 @@ typedef struct ALvoice {
InterpState ResampleState;
struct {
+ enum ActiveFilters FilterType;
DirectParams Params[MAX_INPUT_CHANNELS];
ALfloat (*Buffer)[BUFFERSIZE];
@@ -287,6 +286,7 @@ typedef struct ALvoice {
} Direct;
struct {
+ enum ActiveFilters FilterType;
SendParams Params[MAX_INPUT_CHANNELS];
ALfloat (*Buffer)[BUFFERSIZE];