13 /* End event thread processing. */
14 EventType_KillThread
= 0,
16 /* User event types. */
17 EventType_SourceStateChange
= 1<<0,
18 EventType_BufferCompleted
= 1<<1,
19 EventType_Error
= 1<<2,
20 EventType_Performance
= 1<<3,
21 EventType_Deprecated
= 1<<4,
22 EventType_Disconnected
= 1<<5,
24 /* Internal events. */
25 EventType_ReleaseEffectState
= 65536,
29 unsigned int EnumType
{0u};
46 EffectState
*mEffectState
;
49 AsyncEvent() noexcept
= default;
50 constexpr AsyncEvent(unsigned int type
) noexcept
: EnumType
{type
} { }
56 void StartEventThrd(ALCcontext
*ctx
);
57 void StopEventThrd(ALCcontext
*ctx
);