diff options
author | Chris Robinson <[email protected]> | 2016-10-05 20:33:45 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-10-05 20:33:45 -0700 |
commit | 9b8f36b75879d2fee652c9ff81e1cb5db665a5c5 (patch) | |
tree | dae9a1458b8f2d12fab0962792a8bf3528e111ab /OpenAL32/Include | |
parent | 1e1a8837f8a595639aa8933889b892766379d111 (diff) |
Pass current and target gains directly for mixing
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alu.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |