summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-10 08:03:53 -0700
committerChris Robinson <[email protected]>2014-05-10 08:03:53 -0700
commite9297d9744cd18746534c4164b0ef96a1cb38103 (patch)
tree7f3f96ac674467a487f5b93214382240121e42a9 /OpenAL32/Include
parent3e28fb33a39b93ffaffd6a45b0b56fd60af68ecb (diff)
Mark the buffer queue pointers volatile
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 85a7a838..c87eaa3d 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -96,8 +96,8 @@ typedef struct ALsource {
ALuint position_fraction;
/** Source Buffer Queue info. */
- ALbufferlistitem *queue;
- ALbufferlistitem *current_buffer;
+ ALbufferlistitem *volatile queue;
+ ALbufferlistitem *volatile current_buffer;
RWLock queue_lock;
/** Current buffer sample info. */