11 /* End event thread processing. */
12 EventType_KillThread
= 0,
14 /* User event types. */
15 EventType_SourceStateChange
= 1<<0,
16 EventType_BufferCompleted
= 1<<1,
17 EventType_Error
= 1<<2,
18 EventType_Performance
= 1<<3,
19 EventType_Deprecated
= 1<<4,
20 EventType_Disconnected
= 1<<5,
22 /* Internal events. */
23 EventType_ReleaseEffectState
= 65536,
27 unsigned int EnumType
{0u};
44 EffectState
*mEffectState
;
47 AsyncEvent() noexcept
= default;
48 constexpr AsyncEvent(unsigned int type
) noexcept
: EnumType
{type
} { }
52 void StartEventThrd(ALCcontext
*ctx
);
53 void StopEventThrd(ALCcontext
*ctx
);