aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-11 06:20:04 -0800
committerChris Robinson <[email protected]>2017-03-11 06:20:04 -0800
commit98e8f941b773df0b591e7c6c6c0e3b5096a9b4f2 (patch)
treed09869e6f5e9f049159d26f0cd43d94c770c937a /Alc/hrtf.h
parent6b4b00e4625139157996bcf2161ec8688a4b11e8 (diff)
Allocate as many channels for DirectHrtfState as needed
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r--Alc/hrtf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/hrtf.h b/Alc/hrtf.h
index 83cc64d1..7552452b 100644
--- a/Alc/hrtf.h
+++ b/Alc/hrtf.h
@@ -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 */