aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 4b2ffe0b..8d74fc54 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -18,9 +18,9 @@ extern const ALsizei ResamplerPrePadding[ResamplerMax];
typedef struct ALbufferlistitem {
- struct ALbuffer *buffer;
- struct ALbufferlistitem *next;
- struct ALbufferlistitem *prev;
+ struct ALbuffer *buffer;
+ struct ALbufferlistitem *volatile next;
+ struct ALbufferlistitem *volatile prev;
} ALbufferlistitem;
@@ -98,8 +98,8 @@ typedef struct ALsource {
ALuint position_fraction;
/** Source Buffer Queue info. */
- ALbufferlistitem *volatile queue;
- ALbufferlistitem *volatile current_buffer;
+ ATOMIC(ALbufferlistitem*) queue;
+ ATOMIC(ALbufferlistitem*) current_buffer;
RWLock queue_lock;
/** Current buffer sample info. */