1 #ifndef EAX_FX_SLOTS_INCLUDED
2 #define EAX_FX_SLOTS_INCLUDED
7 #include "al/auxeffectslot.h"
9 #include "fx_slot_index.h"
14 void initialize(ALCcontext
& al_context
);
16 void uninitialize() noexcept
;
20 for(auto& fx_slot
: fx_slots_
)
21 fx_slot
->eax_commit();
25 [[nodiscard
]] auto get(EaxFxSlotIndex index
) const -> const ALeffectslot
&;
27 [[nodiscard
]] auto get(EaxFxSlotIndex index
) -> ALeffectslot
&;
30 using Items
= std::array
<EaxAlEffectSlotUPtr
, EAX_MAX_FXSLOTS
>;
37 static void fail(const char* message
);
39 void initialize_fx_slots(ALCcontext
& al_context
);
43 #endif // !EAX_FX_SLOTS_INCLUDED