4 #include "effectslot.h"
12 EffectSlotArray *EffectSlot::CreatePtrArray(size_t count) noexcept
14 /* Allocate space for twice as many pointers, so the mixer has scratch
15 * space to store a sorted list during mixing.
17 void *ptr{al_calloc(alignof(EffectSlotArray), EffectSlotArray::Sizeof(count*2))};
18 return al::construct_at(static_cast<EffectSlotArray*>(ptr), count);