From 9f23d17333c8faaa0a2b7a86df33c41874a929a5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 15 Jan 2017 13:57:22 -0800 Subject: Use second-order ambisonics for basic HRTF rendering This should improve positional quality for relatively low cost. Full HRTF rendering still only uses first-order since the only use of the dry buffer there is for first-order content (B-Format buffers, effects). --- Alc/hrtf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/hrtf.h') diff --git a/Alc/hrtf.h b/Alc/hrtf.h index ebba0d50..7620a3d2 100644 --- a/Alc/hrtf.h +++ b/Alc/hrtf.h @@ -47,6 +47,6 @@ void GetHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat azimuth, * for first-order. Returns the maximum impulse-response length of the * generated coefficients. */ -ALuint BuildBFormatHrtf(const struct Hrtf *Hrtf, ALfloat (*coeffs)[HRIR_LENGTH][2], ALuint NumChannels); +ALuint BuildBFormatHrtf(const struct Hrtf *Hrtf, ALfloat (*coeffs)[HRIR_LENGTH][2], ALuint NumChannels, const ALuint *AmbiMap); #endif /* ALC_HRTF_H */ -- cgit v1.2.3