diff options
author | Chris Robinson <[email protected]> | 2017-05-27 03:40:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-27 03:40:52 -0700 |
commit | c51df897db79a9c3190b6571618c3f2010a36de5 (patch) | |
tree | 71d53025a1619f5c6a93c3d07f33d395136f9c20 | |
parent | c4ef7399f84f4085ceb77f9897f9c9502d2cfd0d (diff) |
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.
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]); } } |