From d307ee8c2f0823f80b427766ace50243db0999d5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 4 Jul 2011 07:14:45 -0700 Subject: Implement a lerped lookup of the HRTF coefficients/delays Code supplied by Christopher Fitzgerald --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 26a3bf30..1fb75e18 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -523,7 +523,7 @@ const ALCchar *DevFmtChannelsString(enum DevFmtChannels chans); #define HRIR_MASK (HRIR_LENGTH-1) void InitHrtf(void); ALCboolean IsHrtfCompatible(ALCdevice *device); -void GetHrtfCoeffs(ALfloat elevation, ALfloat angle, const ALshort **left, const ALshort **right, ALuint *ldelay, ALuint *rdelay); +void GetLerpedHrtfCoeffs(ALfloat elevation, ALfloat azimuth, ALfloat gain, ALfloat (*coeffs)[2], ALuint *delays); void al_print(const char *fname, unsigned int line, const char *fmt, ...) PRINTF_STYLE(3,4); -- cgit v1.2.3