From c51df897db79a9c3190b6571618c3f2010a36de5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 27 May 2017 03:40:52 -0700 Subject: [PATCH] Use normal air absorption for the sends Applies just for the normal air absorption which uses the air absorption factor, not the automated decay applied when WetGainAuto is enabled. --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/ALu.c b/Alc/ALu.c index 103d7962..7bf6f2ff 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -1259,7 +1259,7 @@ static void CalcAttnSourceParams(ALvoice *voice, const struct ALvoiceProps *prop for(i = 0;i < NumSends;i++) { if(RoomRolloff[i] > 0.0f) - WetGainHF[i] *= powf(RoomAirAbsorption[i], absorb*RoomRolloff[i]); + WetGainHF[i] *= powf(AIRABSORBGAINHF, absorb*RoomRolloff[i]); } } -- 2.11.4.GIT