aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_eax_call.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-14 00:20:45 -0800
committerChris Robinson <[email protected]>2022-02-14 00:20:45 -0800
commitc156e30a484eeaa341b42520904cef7b0eefc7c9 (patch)
treefdab94bf76578f23ef4af48151b8eb9945d45dac /al/eax_eax_call.cpp
parentf915b86dbb8a3d75e37a2813df093694aae0dcbb (diff)
Derive EaxFxSlotIndex from an optional
Diffstat (limited to 'al/eax_eax_call.cpp')
-rw-r--r--al/eax_eax_call.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/al/eax_eax_call.cpp b/al/eax_eax_call.cpp
index 6c9b00ec..2c9d1d7e 100644
--- a/al/eax_eax_call.cpp
+++ b/al/eax_eax_call.cpp
@@ -69,62 +69,62 @@ EaxEaxCall::EaxEaxCall(
else if (property_set_guid_ == DSPROPSETID_EAX20_ListenerProperties)
{
version_ = 2;
- fx_slot_index_ = 0;
+ fx_slot_index_ = 0u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot_effect;
property_id_ = convert_eax_v2_0_listener_property_id(property_id_);
}
else if (property_set_guid_ == DSPROPSETID_EAX30_ListenerProperties)
{
version_ = 3;
- fx_slot_index_ = 0;
+ fx_slot_index_ = 0u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot_effect;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX40_FXSlot0)
{
version_ = 4;
- fx_slot_index_ = 0;
+ fx_slot_index_ = 0u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX50_FXSlot0)
{
version_ = 5;
- fx_slot_index_ = 0;
+ fx_slot_index_ = 0u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX40_FXSlot1)
{
version_ = 4;
- fx_slot_index_ = 1;
+ fx_slot_index_ = 1u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX50_FXSlot1)
{
version_ = 5;
- fx_slot_index_ = 1;
+ fx_slot_index_ = 1u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX40_FXSlot2)
{
version_ = 4;
- fx_slot_index_ = 2;
+ fx_slot_index_ = 2u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX50_FXSlot2)
{
version_ = 5;
- fx_slot_index_ = 2;
+ fx_slot_index_ = 2u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX40_FXSlot3)
{
version_ = 4;
- fx_slot_index_ = 3;
+ fx_slot_index_ = 3u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == EAXPROPERTYID_EAX50_FXSlot3)
{
version_ = 5;
- fx_slot_index_ = 3;
+ fx_slot_index_ = 3u;
property_set_id_ = EaxEaxCallPropertySetId::fx_slot;
}
else if (property_set_guid_ == DSPROPSETID_EAX20_BufferProperties)