aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax
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/eax
parentaf5d4fb77dd12bee2dd5c4b7feadcbab913d6290 (diff)
Don't pass an EaxCall to initialize_fx_slots
Diffstat (limited to 'al/eax')
-rw-r--r--al/eax/fx_slots.cpp12
-rw-r--r--al/eax/fx_slots.h8
2 files changed, 6 insertions, 14 deletions
diff --git a/al/eax/fx_slots.cpp b/al/eax/fx_slots.cpp
index 83de8f78..d04b70df 100644
--- a/al/eax/fx_slots.cpp
+++ b/al/eax/fx_slots.cpp
@@ -28,11 +28,9 @@ public:
} // namespace
-void EaxFxSlots::initialize(
- const EaxCall& call,
- ALCcontext& al_context)
+void EaxFxSlots::initialize(ALCcontext& al_context)
{
- initialize_fx_slots(call, al_context);
+ initialize_fx_slots(al_context);
}
void EaxFxSlots::uninitialize() noexcept
@@ -64,16 +62,14 @@ void EaxFxSlots::fail(
throw EaxFxSlotsException{message};
}
-void EaxFxSlots::initialize_fx_slots(
- const EaxCall& call,
- ALCcontext& al_context)
+void EaxFxSlots::initialize_fx_slots(ALCcontext& al_context)
{
auto fx_slot_index = EaxFxSlotIndexValue{};
for (auto& fx_slot : fx_slots_)
{
fx_slot = eax_create_al_effect_slot(al_context);
- fx_slot->eax_initialize(call, al_context, fx_slot_index);
+ fx_slot->eax_initialize(al_context, fx_slot_index);
fx_slot_index += 1;
}
}
diff --git a/al/eax/fx_slots.h b/al/eax/fx_slots.h
index cb7e0db4..18b2d3ad 100644
--- a/al/eax/fx_slots.h
+++ b/al/eax/fx_slots.h
@@ -14,9 +14,7 @@
class EaxFxSlots
{
public:
- void initialize(
- const EaxCall& call,
- ALCcontext& al_context);
+ void initialize(ALCcontext& al_context);
void uninitialize() noexcept;
@@ -44,9 +42,7 @@ private:
static void fail(
const char* message);
- void initialize_fx_slots(
- const EaxCall& call,
- ALCcontext& al_context);
+ void initialize_fx_slots(ALCcontext& al_context);
}; // EaxFxSlots