aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-05 04:50:27 -0800
committerChris Robinson <[email protected]>2017-03-05 04:50:27 -0800
commit073829f26a4a509d11de5375d43169a8f6ba9e12 (patch)
tree28a341bd1a5954ff9e94a3332bc843314c52f2d0 /OpenAL32/Include
parentc0404916150c48769d08ac32921b9a6a66dc0c0a (diff)
Make the voice's source pointer atomic
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index fc1756e5..52fe731e 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -80,7 +80,7 @@ struct ALsourceProps {
typedef struct ALvoice {
struct ALsourceProps *Props;
- struct ALsource *Source;
+ ATOMIC(struct ALsource*) Source;
ATOMIC(bool) Playing;
/* Current buffer queue item being played. */