aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-06 00:07:37 -0700
committerChris Robinson <[email protected]>2011-07-06 00:07:37 -0700
commitf8be0448b01b0fa9e06c5f96de1384caf1d9477f (patch)
treea86b9a0b815d2e436a1ec39fd7c7395df3868b8d /Alc/ALu.c
parent75fa891e0a4d00739a8a0ddd037782f99f22a578 (diff)
Don't modify the source's WetGain[HF]Auto because of a slot's state
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index ffaace7d..49e957b8 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -418,8 +418,6 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
RoomRolloff[i] = 0.0f;
DecayDistance[i] = 0.0f;
RoomAirAbsorption[i] = 0.0f;
- WetGainAuto = AL_FALSE;
- WetGainHFAuto = AL_FALSE;
}
else if(Slot->AuxSendAuto)
{
@@ -444,8 +442,6 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
RoomRolloff[i] = Rolloff;
DecayDistance[i] = 0.0f;
RoomAirAbsorption[i] = AIRABSORBGAINHF;
- WetGainAuto = AL_TRUE;
- WetGainHFAuto = DryGainHFAuto;
}
ALSource->Params.Send[i].Slot = Slot;