diff options
author | Chris Robinson <[email protected]> | 2022-03-04 13:19:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-03-04 13:19:00 -0800 |
commit | 2492d76896f9cb991760c408bcce7b1c79049979 (patch) | |
tree | c79a1ee96dccd86e6f2ebbee4b4f4e600b31d5bc /al/auxeffectslot.h | |
parent | 240171a53da8ede2ec8b7e8f890a3e10c08aff4a (diff) |
Ensure deferred EAX effect properties are committed
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r-- | al/auxeffectslot.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h index d845b2b4..94a61cfc 100644 --- a/al/auxeffectslot.h +++ b/al/auxeffectslot.h @@ -77,7 +77,6 @@ public: ALCcontext& al_context, EaxFxSlotIndexValue index); - const EAX50FXSLOTPROPERTIES& eax_get_eax_fx_slot() const noexcept; @@ -87,6 +86,7 @@ public: void eax_unlock_legacy() noexcept; + void eax_commit() { eax_apply_deferred(); } private: ALCcontext* eax_al_context_{}; @@ -230,6 +230,8 @@ private: bool eax_set_fx_slot( const EaxEaxCall& eax_call); + void eax_apply_deferred(); + // [[nodiscard]] bool eax_set( const EaxEaxCall& eax_call); |