aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-11 22:07:37 -0700
committerChris Robinson <[email protected]>2011-07-11 22:07:37 -0700
commite56e4623175b5188a0e1752399cd006d73b7390a (patch)
treef6f19676b1ddcfe5c6553224f27ca40cdaf1dbda /Alc/ALu.c
parent3245e992c3abb3d77badc6bbdc5dd1ffb5c13054 (diff)
Fix default room air absorption
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
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