diff options
author | Chris Robinson <[email protected]> | 2011-09-18 10:09:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-18 10:09:32 -0700 |
commit | 0e5c221a3c71004339c22fe8d91c603ac17c8f67 (patch) | |
tree | 46dc9c55f55eb5927f995d2b2ae43e7d67406e1e /OpenAL32 | |
parent | 25f7c2704382221c9d563a7c1e57c02252eb3dad (diff) |
Dynamically allocate space for HRTF tables
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index a5a96e81..67974cb3 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -685,6 +685,7 @@ const ALCchar *DevFmtChannelsString(enum DevFmtChannels chans); #define HRIR_LENGTH (1<<HRIR_BITS) #define HRIR_MASK (HRIR_LENGTH-1) void InitHrtf(void); +void FreeHrtf(void); const struct Hrtf *GetHrtf(ALCdevice *device); ALfloat CalcHrtfDelta(ALfloat oldGain, ALfloat newGain, const ALfloat olddir[3], const ALfloat newdir[3]); void GetLerpedHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat azimuth, ALfloat gain, ALfloat (*coeffs)[2], ALuint *delays); |