aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax
diff options
context:
space:
mode:
Diffstat (limited to 'al/eax')
-rw-r--r--al/eax/call.cpp3
-rw-r--r--al/eax/call.h14
2 files changed, 8 insertions, 9 deletions
diff --git a/al/eax/call.cpp b/al/eax/call.cpp
index 689d5cf1..013a3992 100644
--- a/al/eax/call.cpp
+++ b/al/eax/call.cpp
@@ -22,8 +22,7 @@ EaxCall::EaxCall(
ALuint property_source_id,
ALvoid* property_buffer,
ALuint property_size)
- : mCallType{type}, mVersion{0}, mPropertySetId{EaxCallPropertySetId::none}
- , mIsDeferred{(property_id & deferred_flag) != 0}
+ : mCallType{type}, mIsDeferred{(property_id & deferred_flag) != 0}
, mPropertyId{property_id & ~deferred_flag}, mPropertySourceId{property_source_id}
, mPropertyBuffer{property_buffer}, mPropertyBufferSize{property_size}
{
diff --git a/al/eax/call.h b/al/eax/call.h
index 04e94f3e..e7f2329f 100644
--- a/al/eax/call.h
+++ b/al/eax/call.h
@@ -71,16 +71,16 @@ public:
}
private:
- const EaxCallType mCallType{};
+ const EaxCallType mCallType;
int mVersion{};
EaxFxSlotIndex mFxSlotIndex{};
- EaxCallPropertySetId mPropertySetId{};
- bool mIsDeferred{};
+ EaxCallPropertySetId mPropertySetId{EaxCallPropertySetId::none};
+ bool mIsDeferred;
- const ALuint mPropertyId{};
- const ALuint mPropertySourceId{};
- ALvoid*const mPropertyBuffer{};
- const ALuint mPropertyBufferSize{};
+ const ALuint mPropertyId;
+ const ALuint mPropertySourceId;
+ ALvoid*const mPropertyBuffer;
+ const ALuint mPropertyBufferSize;
[[noreturn]] static void fail(const char* message);
[[noreturn]] static void fail_too_small();