summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-02 02:54:00 -0700
committerChris Robinson <[email protected]>2011-09-02 02:54:00 -0700
commit108b43458f8c011e6cb43d2b623952ae13108029 (patch)
tree74f76a96119c83866cb91bc326b5cc9e1f00a033
parent3dfd67680c5d9c9b2139b7a75824ee6fc0943772 (diff)
Fix multichannel wet gainhf calculation
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 1819c80e..192ff686 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -189,7 +189,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
{
WetGain[i] = clampf(SourceVolume, MinVolume, MaxVolume);
WetGain[i] *= ALSource->Send[i].WetGain;
- WetGainHF[i] = WetGainHF[i] *= ALSource->Send[i].WetGainHF;
+ WetGainHF[i] = ALSource->Send[i].WetGainHF;
}
SrcMatrix = ALSource->Params.DryGains;