aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_c.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-03 03:29:21 -0700
committerChris Robinson <[email protected]>2017-05-03 03:29:21 -0700
commit444e9563b357b4e2af0d428afac9f87596aba9a6 (patch)
tree1fc1f56f2a748332ad21b482895ea1fff3f7f9f7 /Alc/mixer_c.c
parent4e5c4b8e01060bb34c58480895e70a0529d8a55e (diff)
Add a mixing function to blend HRIRs
This is a bit more efficient than calling the normal HRTF mixing function twice, and helps solve the problem of the values generated from convolution not being consistent with the new HRIR.
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r--Alc/mixer_c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c
index f0db2ebc..87f2fe90 100644
--- a/Alc/mixer_c.c
+++ b/Alc/mixer_c.c
@@ -146,6 +146,7 @@ static inline void ApplyCoeffs(ALsizei Offset, ALfloat (*restrict Values)[2],
}
#define MixHrtf MixHrtf_C
+#define MixHrtfBlend MixHrtfBlend_C
#define MixDirectHrtf MixDirectHrtf_C
#include "mixer_inc.c"
#undef MixHrtf