From 073829f26a4a509d11de5375d43169a8f6ba9e12 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 5 Mar 2017 04:50:27 -0800 Subject: Make the voice's source pointer atomic --- OpenAL32/Include/alSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include') 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. */ -- cgit v1.2.3