aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/hrtf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 05215628..3fbb2eb1 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -198,9 +198,9 @@ ALsizei BuildBFormatHrtf(const struct Hrtf *Hrtf, ALfloat (*coeffs)[HRIR_LENGTH]
*/
#define NUM_BANDS 2
BandSplitter splitter;
- ALfloat temps[3][HRIR_LENGTH];
- ALsizei lidx[14], ridx[14];
+ ALsizei lidx[HRTF_AMBI_CHAN_COUNT], ridx[HRTF_AMBI_CHAN_COUNT];
ALsizei min_delay = HRTF_HISTORY_LENGTH;
+ ALfloat temps[3][HRIR_LENGTH];
ALsizei max_length = 0;
ALsizei i, j, c, b;