diff options
author | Chris Robinson <[email protected]> | 2016-05-19 20:50:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-05-19 20:50:55 -0700 |
commit | 7bf64eaee0788b7eb64c7410384a9ee66f75c4ce (patch) | |
tree | b0b410caa1aa380fb329ff982f881a958f7eaec0 /OpenAL32/Include/alSource.h | |
parent | d80f00173f0ef623f69a9cc307457b198186ded8 (diff) |
Make the source position calues atomic
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r-- | OpenAL32/Include/alSource.h | 4 |
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; |