aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 795ddf24..d069abcd 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -5,6 +5,7 @@
#include "alMain.h"
#include "alu.h"
#include "hrtf.h"
+#include "atomic.h"
#define MAX_SENDS 16
#define DEFAULT_SENDS 2
@@ -19,7 +20,7 @@ struct ALsource;
typedef struct ALbufferlistitem {
struct ALbuffer *buffer;
- struct ALbufferlistitem *volatile next;
+ ATOMIC(struct ALbufferlistitem*) next;
} ALbufferlistitem;