aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-08 22:41:44 -0800
committerChris Robinson <[email protected]>2022-02-08 22:41:44 -0800
commit3c9a705210add5aaebd95702035b8ab1fd18fc22 (patch)
tree77435f32ae02d53d3bcd9146164a96368d1a1b38 /alc/context.h
parent256ea81dbe07f02d008908c90b99896f8eaaf2a5 (diff)
Handle AirAbsorptionGainHF as a native context property
Diffstat (limited to 'alc/context.h')
-rw-r--r--alc/context.h5
1 files changed, 1 insertions, 4 deletions
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<ALCcontext>, 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_{};