aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.cpp
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 /al/auxeffectslot.cpp
parentaf5d4fb77dd12bee2dd5c4b7feadcbab913d6290 (diff)
Don't pass an EaxCall to initialize_fx_slots
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r--al/auxeffectslot.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp
index aaf9ce4c..162b5137 100644
--- a/al/auxeffectslot.cpp
+++ b/al/auxeffectslot.cpp
@@ -1055,10 +1055,7 @@ EffectSlotSubList::~EffectSlotSubList()
}
#ifdef ALSOFT_EAX
-void ALeffectslot::eax_initialize(
- const EaxCall& call,
- ALCcontext& al_context,
- EaxFxSlotIndexValue index)
+void ALeffectslot::eax_initialize(ALCcontext& al_context, EaxFxSlotIndexValue index)
{
if(index >= EAX_MAX_FXSLOTS)
eax_fail("Index out of range.");
@@ -1066,15 +1063,10 @@ void ALeffectslot::eax_initialize(
mPropsDirty = true;
eax_al_context_ = &al_context;
eax_fx_slot_index_ = index;
- eax_version_ = call.get_version();
+ eax_version_ = eax_al_context_->eax_get_version();
eax_fx_slot_set_defaults();
}
-const EAX50FXSLOTPROPERTIES& ALeffectslot::eax_get_eax_fx_slot() const noexcept
-{
- return eax_;
-}
-
void ALeffectslot::eax_commit()
{
auto df = EaxDirtyFlags{};