From 63ac9c0b5df9e864bf55f189b12e5da88d8af3c6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 2 Mar 2022 21:18:13 -0800 Subject: Fix applying the EAX context AirAbsorptionHF property --- alc/context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/context.cpp') diff --git a/alc/context.cpp b/alc/context.cpp index 428165e2..5a24a311 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -772,7 +772,7 @@ void ALCcontext::eax_set_distance_factor() void ALCcontext::eax_set_air_absorbtion_hf() { - mAirAbsorptionGainHF = eax_.context.flAirAbsorptionHF; + mAirAbsorptionGainHF = level_mb_to_gain(eax_.context.flAirAbsorptionHF); mPropsDirty = true; } -- cgit v1.2.3