diff options
author | Chris Robinson <[email protected]> | 2016-10-09 00:37:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-10-09 00:37:47 -0700 |
commit | 4bb6b9589f730be4068012b33f0c4323c3794816 (patch) | |
tree | 691a1f6a63e14b50e2c64d66b4865395f7292968 /Alc/hrtf.h | |
parent | 698eddbb0caf6ba77d644e7de5da01ad6687ee68 (diff) |
Don't interpolate between nearest HRIRs
It still fades between HRIRs when it changes, but now it selects the nearest
one instead of blending the nearest four. Due to the minimum-phase nature of
the HRIRs, interpolating between delays lead to some oddities which are
exasperated by the fading (and the fading is needed to avoid clicks and pops,
and smooth out changes).
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r-- | Alc/hrtf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ void FreeHrtfs(void); vector_HrtfEntry EnumerateHrtf(const_al_string devname); void FreeHrtfList(vector_HrtfEntry *list); -void GetLerpedHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat azimuth, ALfloat spread, ALfloat gain, ALfloat (*coeffs)[2], ALuint *delays); +void GetHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat azimuth, ALfloat spread, ALfloat gain, ALfloat (*coeffs)[2], ALuint *delays); /* Produces HRTF filter coefficients for decoding B-Format. The result will * have ACN ordering with N3D normalization. NumChannels must currently be 4, |