From 81e7222633fefd29890e8f1e18af86c4985604f4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 11 Jan 2019 07:28:44 -0800 Subject: Use a flexible array for the active effect slots --- OpenAL32/Include/alAuxEffectSlot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index cf4cd5d0..e761280a 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -44,7 +44,7 @@ struct EffectStateFactory { #define MAX_EFFECT_CHANNELS (4) -using ALeffectslotArray = al::vector; +using ALeffectslotArray = al::FlexArray; struct ALeffectslotProps { @@ -118,6 +118,8 @@ struct ALeffectslot { ALeffectslot& operator=(const ALeffectslot&) = delete; ~ALeffectslot(); + static ALeffectslotArray *CreatePtrArray(size_t count) noexcept; + DEF_NEWDEL(ALeffectslot) }; -- cgit v1.2.3