aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-11 07:42:23 -0700
committerChris Robinson <[email protected]>2011-09-11 07:42:23 -0700
commitd51b93f8697ef562f09c843df31aaeb773d3caff (patch)
tree5b0faf40d137dad571eb3016289a71e46e2e9cea /Alc/ALu.c
parentab2b62c98030aa545ee0043feeae05916329a521 (diff)
Remove the union from the effect parameter types
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 3c80b7bc..0446525c 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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
{