aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 898c8a08..bff3d52e 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -841,11 +841,15 @@ enum {
EventType_ReleaseEffectState = 65536,
};
-typedef struct AsyncEvent {
+struct AsyncEvent {
unsigned int EnumType;
union {
char dummy;
struct {
+ ALuint id;
+ ALenum state;
+ } srcstate;
+ struct {
ALenum type;
ALuint id;
ALuint param;
@@ -853,8 +857,8 @@ typedef struct AsyncEvent {
} user;
EffectState *mEffectState;
} u;
-} AsyncEvent;
-#define ASYNC_EVENT(t) { t, { 0 } }
+};
+#define ASYNC_EVENT(t) AsyncEvent{ t, { 0 } }
void AllocateVoices(ALCcontext *context, ALsizei num_voices, ALsizei old_sends);