diff options
author | Chris Robinson <[email protected]> | 2012-07-20 15:08:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-07-20 15:08:11 -0700 |
commit | 1323e11701984d93c34b7049929b1f1d3bc418bc (patch) | |
tree | 3d30d3cc3e38b6c20f96ab76226291cd063ccede /OpenAL32/Include/alMain.h | |
parent | 7ac9944bb3638845a168a99f4c302822932853b6 (diff) |
Interpolate between HRTF delay samples using the delay fraction
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 420c187d..f5d76b10 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -713,6 +713,9 @@ const ALCchar *DevFmtChannelsString(enum DevFmtChannels chans); #define HRIR_BITS (5) #define HRIR_LENGTH (1<<HRIR_BITS) #define HRIR_MASK (HRIR_LENGTH-1) +#define HRTFDELAY_BITS (20) +#define HRTFDELAY_FRACONE (1<<HRTFDELAY_BITS) +#define HRTFDELAY_MASK (HRTFDELAY_FRACONE-1) void InitHrtf(void); void FreeHrtf(void); const struct Hrtf *GetHrtf(ALCdevice *device); |