diff options
author | Chris Robinson <[email protected]> | 2011-08-19 03:59:57 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-19 03:59:57 -0700 |
commit | e51295c79edffb7dd2bd4fe6211a193c08735b32 (patch) | |
tree | d4526c0d39723b21403fe048838a47f55547bb3f /Alc | |
parent | b40aa8636b6216f1ee49e75c26f5f52c5eb3248f (diff) |
Don't scale the wet send by the number of channels
Each channel should be treated as a distinct audio source, so multiple channels
should act as multiple sources.
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -327,8 +327,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) for(i = 0;i < NumSends;i++) { ALSource->Params.Send[i].Slot = ALSource->Send[i].Slot; - ALSource->Params.Send[i].WetGain = WetGain[i] * ListenerGain / - ALSource->NumChannels; + ALSource->Params.Send[i].WetGain = WetGain[i] * ListenerGain; } /* Update filter coefficients. Calculations based on the I3DL2 |