diff options
author | Chris Robinson <[email protected]> | 2018-12-25 19:54:14 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-25 19:54:14 -0800 |
commit | b2665a503f024ae78f004443bd853198322daa79 (patch) | |
tree | bf03e504f1e8f48f436eaa8837f8698001a52181 /OpenAL32 | |
parent | a7c58decfbf57fc5e502a1cbf8f40dd78c7465e5 (diff) |
Do some pre-mixing fading checks once before preparing to mix
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 934d6866..42c754cc 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -475,7 +475,7 @@ inline void ComputePanGains(const MixParams *dry, const ALfloat*RESTRICT coeffs, void ComputePanGains(const ALeffectslot *slot, const ALfloat*RESTRICT coeffs, ALfloat ingain, ALfloat (&gains)[MAX_OUTPUT_CHANNELS]); -ALboolean MixSource(ALvoice *voice, ALuint SourceID, ALCcontext *Context, ALsizei SamplesToDo); +ALboolean MixSource(ALvoice *voice, const ALuint SourceID, ALCcontext *Context, const ALsizei SamplesToDo); void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples); /* Caller must lock the device, and the mixer must not be running. */ |