From 23b4611cd093afa3301103ac5921755436168791 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 10 May 2022 06:46:10 -0700 Subject: Properly set the air absorption gain base --- al/state.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'al/state.cpp') diff --git a/al/state.cpp b/al/state.cpp index 8142890e..1a07f624 100644 --- a/al/state.cpp +++ b/al/state.cpp @@ -943,6 +943,7 @@ void UpdateContextProps(ALCcontext *context) props->Gain = listener.Gain; props->MetersPerUnit = listener.mMetersPerUnit; + props->AirAbsorptionGainHF = context->mAirAbsorptionGainHF; props->DopplerFactor = context->mDopplerFactor; props->DopplerVelocity = context->mDopplerVelocity; props->SpeedOfSound = context->mSpeedOfSound; -- cgit v1.2.3