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.
This commit is contained in:
parent
b40aa8636b
commit
e51295c79e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user