aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-31 23:33:04 -0800
committerChris Robinson <[email protected]>2018-12-31 23:33:04 -0800
commita9e71c2668e7c49d089623633bd92bcfc3fe1465 (patch)
tree277f7be4c4f0bc35210eaa674dbdeb03debb2492 /OpenAL32/Include
parent0452c9201d993209d1138a1cae7a538f5b0ceb42 (diff)
Handle all input channels in MixDirectHrtf
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index f575ba52..b004fbf8 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -287,7 +287,8 @@ using HrtfMixerBlendFunc = void(*)(ALfloat *RESTRICT LeftOut, ALfloat *RESTRICT
const HrtfParams *oldparams, MixHrtfParams *newparams, HrtfState *hrtfstate,
const ALsizei BufferSize);
using HrtfDirectMixerFunc = void(*)(ALfloat *RESTRICT LeftOut, ALfloat *RESTRICT RightOut,
- const ALfloat *data, DirectHrtfState *State, const ALsizei Chan, const ALsizei BufferSize);
+ const ALfloat (*data)[BUFFERSIZE], DirectHrtfState *State, const ALsizei NumChans,
+ const ALsizei BufferSize);
#define GAIN_MIX_MAX (1000.0f) /* +60dB */