diff options
author | Chris Robinson <[email protected]> | 2017-03-11 06:20:04 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-11 06:20:04 -0800 |
commit | 98e8f941b773df0b591e7c6c6c0e3b5096a9b4f2 (patch) | |
tree | d09869e6f5e9f049159d26f0cd43d94c770c937a /Alc/hrtf.h | |
parent | 6b4b00e4625139157996bcf2161ec8688a4b11e8 (diff) |
Allocate as many channels for DirectHrtfState as needed
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r-- | Alc/hrtf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,6 +44,6 @@ void GetHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat azimuth, * returned coefficients are ordered and scaled according to the matrices. * Returns the maximum impulse-response length of the generated coefficients. */ -ALsizei BuildBFormatHrtf(const struct Hrtf *Hrtf, ALfloat (*coeffs)[HRIR_LENGTH][2], ALsizei NumChannels, const ALfloat (*restrict AmbiPoints)[2], const ALfloat (*restrict AmbiMatrix)[2][MAX_AMBI_COEFFS], ALsizei AmbiCount); +ALsizei BuildBFormatHrtf(const struct Hrtf *Hrtf, DirectHrtfState *state, ALsizei NumChannels, const ALfloat (*restrict AmbiPoints)[2], const ALfloat (*restrict AmbiMatrix)[2][MAX_AMBI_COEFFS], ALsizei AmbiCount); #endif /* ALC_HRTF_H */ |