aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-03-02 21:18:13 -0800
committerChris Robinson <[email protected]>2022-03-02 21:18:13 -0800
commit63ac9c0b5df9e864bf55f189b12e5da88d8af3c6 (patch)
treef17c3e186816349ebe9ebf36a6879d3b9c516722
parenta98d6b241784a698e6aca8fede612d8a9fb9c90d (diff)
Fix applying the EAX context AirAbsorptionHF property
-rw-r--r--alc/context.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}