diff options
author | Chris Robinson <[email protected]> | 2022-03-26 05:28:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-03-26 05:28:46 -0700 |
commit | e53013a549e175777c288066d4d1e7900c8670cc (patch) | |
tree | 974c458625d58a8a5ea797f25f30bf352a852c6c /al/auxeffectslot.h | |
parent | 6d0bd1a5320e3103b10e5263732566c9d63981d9 (diff) |
Inline a couple dispatch calls
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r-- | al/auxeffectslot.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h index 2c99f330..ca0dcd31 100644 --- a/al/auxeffectslot.h +++ b/al/auxeffectslot.h @@ -81,8 +81,9 @@ public: // [[nodiscard]] - bool eax_dispatch( - const EaxEaxCall& eax_call); + bool eax_dispatch(const EaxEaxCall& eax_call) + { return eax_call.is_get() ? eax_get(eax_call) : eax_set(eax_call); } + void eax_unlock_legacy() noexcept; |