diff options
author | Chris Robinson <[email protected]> | 2023-03-16 04:40:10 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-03-16 04:56:08 -0700 |
commit | 24508c3901ad9df62b264d5c0d8b7294bb0e218f (patch) | |
tree | 2a924d7d38693796e2a6a78ced0a6c7863d2c9a9 /al/source.h | |
parent | ef5373611fb0411be0e29c463f0e525481011eb0 (diff) |
Rename some member functions and variables for consistency
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/al/source.h b/al/source.h index 9dffbff7..0882288c 100644 --- a/al/source.h +++ b/al/source.h @@ -159,12 +159,12 @@ struct ALsource { #ifdef ALSOFT_EAX public: - void eax_initialize(ALCcontext *context) noexcept; - void eax_dispatch(const EaxCall& call); - void eax_commit(); - void eax_mark_as_changed() { eax_changed_ = true; } + void eaxInitialize(ALCcontext *context) noexcept; + void eaxDispatch(const EaxCall& call); + void eaxCommit(); + void eaxMarkAsChanged() noexcept { mEaxChanged = true; } - static ALsource* eax_lookup_source(ALCcontext& al_context, ALuint source_id) noexcept; + static ALsource* EaxLookupSource(ALCcontext& al_context, ALuint source_id) noexcept; private: using Exception = EaxSourceException; @@ -192,21 +192,18 @@ private: using EaxSends = std::array<EAXSOURCEALLSENDPROPERTIES, EAX_MAX_FXSLOTS>; using Eax1Props = EAXBUFFER_REVERBPROPERTIES; - struct Eax1State { Eax1Props i; // Immediate. Eax1Props d; // Deferred. }; using Eax2Props = EAX20BUFFERPROPERTIES; - struct Eax2State { Eax2Props i; // Immediate. Eax2Props d; // Deferred. }; using Eax3Props = EAX30SOURCEPROPERTIES; - struct Eax3State { Eax3Props i; // Immediate. Eax3Props d; // Deferred. @@ -245,17 +242,17 @@ private: Eax5Props d; // Deferred. }; - ALCcontext* eax_al_context_{}; - EaxFxSlotIndex eax_primary_fx_slot_id_{}; - EaxActiveFxSlots eax_active_fx_slots_{}; - int eax_version_{}; - bool eax_changed_{}; - Eax1State eax1_{}; - Eax2State eax2_{}; - Eax3State eax3_{}; - Eax4State eax4_{}; - Eax5State eax5_{}; - Eax5Props eax_{}; + ALCcontext* mEaxAlContext{}; + EaxFxSlotIndex mEaxPrimaryFxSlotId{}; + EaxActiveFxSlots mEaxActiveFxSlots{}; + int mEaxVersion{}; + bool mEaxChanged{}; + Eax1State mEax1{}; + Eax2State mEax2{}; + Eax3State mEax3{}; + Eax4State mEax4{}; + Eax5State mEax5{}; + Eax5Props mEax{}; // ---------------------------------------------------------------------- // Source validators |