diff options
author | Chris Robinson <[email protected]> | 2020-08-24 20:34:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-08-24 20:40:24 -0700 |
commit | a6bd53c4e1de084d93541f23d391154d7949b678 (patch) | |
tree | f33a98b0e978eaf14191806271fb883f95783a69 /al/event.h | |
parent | 1a9fbc1b2f7456f14e9cb74d95f4696cbe5c5af3 (diff) |
Store a reference to the effect buffer as an active property
Diffstat (limited to 'al/event.h')
-rw-r--r-- | al/event.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,7 @@ #include "almalloc.h" +struct EffectBufferBase; struct EffectState; @@ -23,6 +24,7 @@ enum { /* Internal events. */ EventType_ReleaseEffectState = 65536, + EventType_ReleaseEffectBuffer, }; struct AsyncEvent { @@ -44,6 +46,7 @@ struct AsyncEvent { ALchar msg[232]; } user; EffectState *mEffectState; + EffectBufferBase *mEffectBuffer; } u{}; AsyncEvent() noexcept = default; |