diff options
author | Chris Robinson <[email protected]> | 2018-12-23 08:51:28 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-23 08:51:28 -0800 |
commit | 3fe38fed7c29869a43b42d634417452b1a5fedbc (patch) | |
tree | b61cd690dbaced50afef8ff69c880d9a99136149 /OpenAL32/Include/alu.h | |
parent | e218999b4f408b7fd35daa9d021288b68f5b4ab5 (diff) |
Mix effect slot output to the effect target if it's set
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 2b7be726..695fc380 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -476,6 +476,8 @@ inline void ComputePanGains(const MixParams *dry, const ALfloat*RESTRICT coeffs, ComputePanningGainsBF(dry->Ambi.Map, dry->NumChannels, coeffs, ingain, gains); } +void ComputePanGains(const ALeffectslot *slot, const ALfloat*RESTRICT coeffs, ALfloat ingain, ALfloat (&gains)[MAX_OUTPUT_CHANNELS]); + ALboolean MixSource(struct ALvoice *voice, ALuint SourceID, ALCcontext *Context, ALsizei SamplesToDo); |