diff options
author | Chris Robinson <[email protected]> | 2011-07-06 00:07:37 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-06 00:07:37 -0700 |
commit | f8be0448b01b0fa9e06c5f96de1384caf1d9477f (patch) | |
tree | a86b9a0b815d2e436a1ec39fd7c7395df3868b8d /Alc/ALu.c | |
parent | 75fa891e0a4d00739a8a0ddd037782f99f22a578 (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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |