aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-18 07:02:38 -0800
committerChris Robinson <[email protected]>2022-02-18 07:02:38 -0800
commit39708f9831926d5eaa90e5451adf27fe124d4153 (patch)
tree3d894400efe28977b40d475b4898906e5ff1da2e /alc/context.h
parenta9974d3aa8ae225610302f221bd0a154c110ccbc (diff)
Avoid a variable limit on EAX filters
I'll assume for now that the limits for the EAX properties will keep the filter gain from getting out of hand. The filter's gainhf is relative to the gain and is limited to 0dB max.
Diffstat (limited to 'alc/context.h')
-rw-r--r--alc/context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/alc/context.h b/alc/context.h
index 64c484a8..0a884835 100644
--- a/alc/context.h
+++ b/alc/context.h
@@ -248,8 +248,6 @@ public:
void eax_set_last_error() noexcept;
- float eax_get_max_filter_gain() const noexcept { return eax_max_filter_gain_; }
-
EaxFxSlotIndex eax_get_previous_primary_fx_slot_index() const noexcept
{ return eax_previous_primary_fx_slot_index_; }
EaxFxSlotIndex eax_get_primary_fx_slot_index() const noexcept
@@ -337,7 +335,6 @@ private:
long eax_last_error_{};
unsigned long eax_speaker_config_{};
- float eax_max_filter_gain_{};
EaxFxSlotIndex eax_previous_primary_fx_slot_index_{};
EaxFxSlotIndex eax_primary_fx_slot_index_{};
EaxFxSlots eax_fx_slots_{};
@@ -378,8 +375,6 @@ private:
void eax_update_speaker_configuration();
- void eax_initialize_filter_gain();
-
void eax_set_last_error_defaults() noexcept;
void eax_set_session_defaults() noexcept;