aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
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 fbd63ce2..bb1e6434 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -172,8 +172,8 @@ typedef struct ALsource {
* the whole queue, and the fractional (fixed-point) offset to the next
* sample.
*/
- ALuint position;
- ALuint position_fraction;
+ ATOMIC(ALuint) position;
+ ATOMIC(ALuint) position_fraction;
/** Source Buffer Queue info. */
ATOMIC(ALbufferlistitem*) queue;