diff options
author | Chris Robinson <[email protected]> | 2016-05-29 01:40:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-05-29 01:40:16 -0700 |
commit | 8aa4a74a7b213f2a8a3e0126a248357e587d34a8 (patch) | |
tree | bee9757b99c3f7bc6395ed59956a4ecc57f252b3 /OpenAL32/Include/alAuxEffectSlot.h | |
parent | 4b8aa9caf11b35d0b670bdba05132357e580a71c (diff) |
Use a linked list for active effect slots
Diffstat (limited to 'OpenAL32/Include/alAuxEffectSlot.h')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 85d730f8..a9b50387 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -129,6 +129,8 @@ typedef struct ALeffectslot { * first-order device output (FOAOut). */ alignas(16) ALfloat WetBuffer[MAX_EFFECT_CHANNELS][BUFFERSIZE]; + + ATOMIC(struct ALeffectslot*) next; } ALeffectslot; inline struct ALeffectslot *LookupEffectSlot(ALCcontext *context, ALuint id) |