aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-15 11:54:54 -0700
committerChris Robinson <[email protected]>2022-07-15 11:54:54 -0700
commit7b0776e33f84056179275a4a42cae7dbef9d6a71 (patch)
tree94612e0c5a2a1115b5a4b1dbc41634e0b3029c18 /alc
parentaf5d4fb77dd12bee2dd5c4b7feadcbab913d6290 (diff)
Don't pass an EaxCall to initialize_fx_slots
Diffstat (limited to 'alc')
-rw-r--r--alc/context.cpp13
-rw-r--r--alc/context.h4
2 files changed, 8 insertions, 9 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index 3dbeaea0..403c4fa3 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -324,8 +324,7 @@ ALenum ALCcontext::eax_eax_set(
if(eax_version != eax_version_)
eax_df_ = ~EaxDirtyFlags();
eax_version_ = eax_version;
-
- eax_initialize(call);
+ eax_initialize();
switch(call.get_property_set_id())
{
@@ -364,7 +363,7 @@ ALenum ALCcontext::eax_eax_get(
property_value,
property_value_size);
eax_version_ = call.get_version();
- eax_initialize(call);
+ eax_initialize();
switch(call.get_property_set_id())
{
@@ -466,7 +465,7 @@ void ALCcontext::eax_initialize_extensions()
mExtensionList = eax_extension_list_.c_str();
}
-void ALCcontext::eax_initialize(const EaxCall& call)
+void ALCcontext::eax_initialize()
{
if(eax_is_initialized_)
return;
@@ -483,7 +482,7 @@ void ALCcontext::eax_initialize(const EaxCall& call)
eax_set_defaults();
eax_context_commit_air_absorbtion_hf();
eax_update_speaker_configuration();
- eax_initialize_fx_slots(call);
+ eax_initialize_fx_slots();
eax_initialize_sources();
eax_is_initialized_ = true;
@@ -761,9 +760,9 @@ void ALCcontext::eax_context_commit_macro_fx_factor()
// TODO
}
-void ALCcontext::eax_initialize_fx_slots(const EaxCall& call)
+void ALCcontext::eax_initialize_fx_slots()
{
- eax_fx_slots_.initialize(call, *this);
+ eax_fx_slots_.initialize(*this);
eax_primary_fx_slot_index_ = eax_.guidPrimaryFXSlotID;
}
diff --git a/alc/context.h b/alc/context.h
index 3046c8b7..660a6559 100644
--- a/alc/context.h
+++ b/alc/context.h
@@ -456,7 +456,7 @@ private:
}
void eax_initialize_extensions();
- void eax_initialize(const EaxCall& call);
+ void eax_initialize();
bool eax_has_no_default_effect_slot() const noexcept;
void eax_ensure_no_default_effect_slot() const;
@@ -492,7 +492,7 @@ private:
void eax_context_commit_hf_reference();
void eax_context_commit_macro_fx_factor();
- void eax_initialize_fx_slots(const EaxCall& call);
+ void eax_initialize_fx_slots();
void eax_update_sources();