aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r--al/auxeffectslot.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h
index 8182c082..0ee1d022 100644
--- a/al/auxeffectslot.h
+++ b/al/auxeffectslot.h
@@ -85,6 +85,8 @@ public:
bool eax_dispatch(
const EaxEaxCall& eax_call);
+ void eax_unlock_legacy() noexcept;
+
private:
ALCcontext* eax_al_context_{};
@@ -94,6 +96,7 @@ private:
EAX50FXSLOTPROPERTIES eax_eax_fx_slot_{};
EaxEffectUPtr eax_effect_{};
+ bool eax_is_locked_{};
[[noreturn]]
@@ -101,19 +104,17 @@ private:
const char* message);
+ GUID eax_get_eax_default_effect_guid() const noexcept;
+ unsigned long eax_get_eax_default_lock() const noexcept;
+
void eax_set_eax_fx_slot_defaults();
void eax_initialize_eax();
+ void eax_initialize_lock();
- void eax_initialize_effects();
-
-
- void eax_set_default_slot_0_defaults();
-
- void eax_set_default_slot_1_defaults();
- void eax_set_default_slots_defaults();
+ void eax_initialize_effects();
void eax_get_fx_slot_all(
@@ -143,6 +144,9 @@ private:
void eax_set_fx_slot_flags();
+ void eax_ensure_is_unlocked() const;
+
+
void eax_validate_fx_slot_effect(
const GUID& eax_effect_id);
@@ -152,10 +156,6 @@ private:
void eax_validate_fx_slot_lock(
long eax_lock);
- void eax_validate_fx_slot_lock_state(
- long eax_lock,
- const GUID& eax_effect_id);
-
void eax_validate_fx_slot_flags(
unsigned long eax_flags,
int eax_version);