From 3c9a705210add5aaebd95702035b8ab1fd18fc22 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 8 Feb 2022 22:41:44 -0800 Subject: Handle AirAbsorptionGainHF as a native context property --- alc/context.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'alc/context.h') diff --git a/alc/context.h b/alc/context.h index 26aeedb7..f2e88cd4 100644 --- a/alc/context.h +++ b/alc/context.h @@ -33,7 +33,6 @@ struct EaxContextSharedDirtyFlags using EaxIsBitFieldStruct = bool; EaxContextSharedDirtyFlagsValue primary_fx_slot_id : 1; - EaxContextSharedDirtyFlagsValue air_absorption_hf : 1; }; // EaxContextSharedDirtyFlags @@ -116,6 +115,7 @@ struct ALCcontext : public al::intrusive_ref, ContextBase { float mDopplerFactor{1.0f}; float mDopplerVelocity{1.0f}; float mSpeedOfSound{SpeedOfSoundMetersPerSec}; + float mAirAbsorptionGainHF{AirAbsorbGainHF}; std::mutex mEventCbLock; ALEVENTPROCSOFT mEventCb{}; @@ -252,8 +252,6 @@ public: float eax_get_max_filter_gain() const noexcept; - float eax_get_air_absorption_factor() const noexcept; - EaxFxSlotIndex eax_get_previous_primary_fx_slot_index() const noexcept; EaxFxSlotIndex eax_get_primary_fx_slot_index() const noexcept; @@ -342,7 +340,6 @@ private: unsigned long eax_speaker_config_{}; float eax_max_filter_gain_{}; - float eax_air_absorption_factor_{}; EaxFxSlotIndex eax_previous_primary_fx_slot_index_{}; EaxFxSlotIndex eax_primary_fx_slot_index_{}; EaxFxSlots eax_fx_slots_{}; -- cgit v1.2.3