diff options
author | Chris Robinson <[email protected]> | 2011-09-11 07:42:23 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-11 07:42:23 -0700 |
commit | d51b93f8697ef562f09c843df31aaeb773d3caff (patch) | |
tree | 5b0faf40d137dad571eb3016289a71e46e2e9cea /Alc/ALu.c | |
parent | ab2b62c98030aa545ee0043feeae05916329a521 (diff) |
Remove the union from the effect parameter types
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -424,10 +424,10 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) RoomRolloff[i] = RoomRolloffBase; if(IsReverbEffect(Slot->effect.type)) { - RoomRolloff[i] += Slot->effect.Params.Reverb.RoomRolloffFactor; - DecayDistance[i] = Slot->effect.Params.Reverb.DecayTime * + RoomRolloff[i] += Slot->effect.Reverb.RoomRolloffFactor; + DecayDistance[i] = Slot->effect.Reverb.DecayTime * SPEEDOFSOUNDMETRESPERSEC; - RoomAirAbsorption[i] = Slot->effect.Params.Reverb.AirAbsorptionGainHF; + RoomAirAbsorption[i] = Slot->effect.Reverb.AirAbsorptionGainHF; } else { |