#ifndef EAX_FX_SLOTS_INCLUDED #define EAX_FX_SLOTS_INCLUDED #include #include "al/auxeffectslot.h" #include "eax_api.h" #include "eax_fx_slot_index.h" class EaxFxSlots { public: void initialize( ALCcontext& al_context); void uninitialize() noexcept; const ALeffectslot& get( EaxFxSlotIndex index) const; ALeffectslot& get( EaxFxSlotIndex index); private: using Items = std::array; Items fx_slots_{}; [[noreturn]] static void fail( const char* message); void initialize_fx_slots( ALCcontext& al_context); }; // EaxFxSlots #endif // !EAX_FX_SLOTS_INCLUDED