aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-10-09 00:37:47 -0700
committerChris Robinson <[email protected]>2016-10-09 00:37:47 -0700
commit4bb6b9589f730be4068012b33f0c4323c3794816 (patch)
tree691a1f6a63e14b50e2c64d66b4865395f7292968 /Alc/hrtf.h
parent698eddbb0caf6ba77d644e7de5da01ad6687ee68 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/hrtf.h b/Alc/hrtf.h
index d3ecfc3c..ebba0d50 100644
--- a/Alc/hrtf.h
+++ b/Alc/hrtf.h
@@ -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,