aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-05 10:24:13 -0700
committerChris Robinson <[email protected]>2014-04-05 10:24:13 -0700
commit5e0fc84f49bb4f1491ff92ad0bc023b5b87ee934 (patch)
treed81c36651edae6aa311335efac7c061ea22a1dfa /OpenAL32
parent569374da2c5f310d9309d477c24627133110dad0 (diff)
Make HRTF stepping values per-channel
Diffstat (limited to 'OpenAL32')
-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 c2e725ff..c1aa143d 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -46,9 +46,9 @@ typedef struct HrtfParams {
ALfloat Gain;
ALfloat Dir[3];
ALIGN(16) ALfloat Coeffs[MAX_INPUT_CHANNELS][HRIR_LENGTH][2];
- ALIGN(16) ALfloat CoeffStep[HRIR_LENGTH][2];
+ ALIGN(16) ALfloat CoeffStep[MAX_INPUT_CHANNELS][HRIR_LENGTH][2];
ALuint Delay[MAX_INPUT_CHANNELS][2];
- ALint DelayStep[2];
+ ALint DelayStep[MAX_INPUT_CHANNELS][2];
ALuint IrSize;
} HrtfParams;