diff options
author | Chris Robinson <[email protected]> | 2017-01-17 16:49:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-01-17 16:49:26 -0800 |
commit | ba0944af9ba8d851bc5b6ad99f314bbdac269716 (patch) | |
tree | 3031abd32f417c78b52476fccac0aa0ac6611996 /OpenAL32/Include | |
parent | bfb7a6e4c85838bf2f6ed28fba452c55ad50c566 (diff) |
Pass the left and right buffers to the hrtf mixers directly
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alu.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 4a424246..21b787d2 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -160,14 +160,14 @@ typedef void (*MixerFunc)(const ALfloat *data, ALsizei OutChans, typedef void (*RowMixerFunc)(ALfloat *OutBuffer, const ALfloat *gains, const ALfloat (*restrict data)[BUFFERSIZE], ALsizei InChans, ALsizei InPos, ALsizei BufferSize); -typedef void (*HrtfMixerFunc)(ALfloat (*restrict OutBuffer)[BUFFERSIZE], ALsizei lidx, ALsizei ridx, +typedef void (*HrtfMixerFunc)(ALfloat *restrict LeftOut, ALfloat *restrict RightOut, const ALfloat *data, ALsizei Counter, ALsizei Offset, ALsizei OutPos, const ALsizei IrSize, const MixHrtfParams *hrtfparams, HrtfState *hrtfstate, ALsizei BufferSize); -typedef void (*HrtfDirectMixerFunc)(ALfloat (*restrict OutBuffer)[BUFFERSIZE], - ALsizei lidx, ALsizei ridx, const ALfloat *data, ALsizei Offset, - const ALsizei IrSize, ALfloat (*restrict Coeffs)[2], - ALfloat (*restrict Values)[2], ALsizei BufferSize); +typedef void (*HrtfDirectMixerFunc)(ALfloat *restrict LeftOut, ALfloat *restrict RightOut, + const ALfloat *data, ALsizei Offset, const ALsizei IrSize, + ALfloat (*restrict Coeffs)[2], ALfloat (*restrict Values)[2], + ALsizei BufferSize); #define GAIN_MIX_MAX (16.0f) /* +24dB */ |