aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/source.h')
-rw-r--r--al/source.h35
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