From 9b8f36b75879d2fee652c9ff81e1cb5db665a5c5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 5 Oct 2016 20:33:45 -0700 Subject: Pass current and target gains directly for mixing --- OpenAL32/Include/alu.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenAL32/Include/alu.h') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 3ced9628..47d4fab0 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -159,8 +159,9 @@ typedef const ALfloat* (*ResamplerFunc)(const BsincState *state, ); typedef void (*MixerFunc)(const ALfloat *data, ALuint OutChans, - ALfloat (*restrict OutBuffer)[BUFFERSIZE], struct MixGains *Gains, - ALuint Counter, ALuint OutPos, ALuint BufferSize); + ALfloat (*restrict OutBuffer)[BUFFERSIZE], ALfloat *CurrentGains, + const ALfloat *TargetGains, ALuint Counter, ALuint OutPos, + ALuint BufferSize); typedef void (*RowMixerFunc)(ALfloat *OutBuffer, const ALfloat *gains, const ALfloat (*restrict data)[BUFFERSIZE], ALuint InChans, ALuint InPos, ALuint BufferSize); -- cgit v1.2.3