From e56e4623175b5188a0e1752399cd006d73b7390a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Jul 2011 22:07:37 -0700 Subject: Fix default room air absorption --- Alc/ALu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc') diff --git a/Alc/ALu.c b/Alc/ALu.c index 2cd9326f..04d894e1 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -417,7 +417,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) { RoomRolloff[i] = 0.0f; DecayDistance[i] = 0.0f; - RoomAirAbsorption[i] = 0.0f; + RoomAirAbsorption[i] = 1.0f; } else if(Slot->AuxSendAuto) { @@ -432,7 +432,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) else { DecayDistance[i] = 0.0f; - RoomAirAbsorption[i] = 0.0f; + RoomAirAbsorption[i] = 1.0f; } } else -- cgit v1.2.3