diff options
author | Chris Robinson <[email protected]> | 2022-05-10 06:46:10 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-05-10 06:46:10 -0700 |
commit | 23b4611cd093afa3301103ac5921755436168791 (patch) | |
tree | 1247a1c700a2d82b1c0cb31227b54aa18cbbd689 /al/state.cpp | |
parent | c870e550fa37d10e8a9d7d15ef1d6370d1e0399e (diff) |
Properly set the air absorption gain base
Diffstat (limited to 'al/state.cpp')
-rw-r--r-- | al/state.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |