diff options
author | Chris Robinson <[email protected]> | 2017-01-16 09:04:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-01-16 09:04:58 -0800 |
commit | f1f93a593a62b1a06f900d809628b5678eab4d8b (patch) | |
tree | c435e9a6382df89cd50aa01348bcbfe816f40cec /Alc/hrtf.c | |
parent | 959812ee13e4869309e3c2cf507f6b0458ad8618 (diff) |
Fix a couple hard-coded array sizes
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |