aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMidi.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index 9d9fa6c4..b1c08e40 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -34,7 +34,7 @@ typedef struct ALenvelope {
typedef struct ALfontsound {
RefCount ref;
- struct ALbuffer *Buffer;
+ ATOMIC(struct ALbuffer*) Buffer;
ALint MinKey, MaxKey;
ALint MinVelocity, MaxVelocity;
@@ -85,7 +85,8 @@ typedef struct ALfontsound {
ALubyte PitchKey;
ALbyte PitchCorrection;
ALenum SampleType;
- struct ALfontsound *Link;
+
+ ATOMIC(struct ALfontsound*) Link;
/* NOTE: Each map entry contains *four* (4) ALsfmodulator objects. */
UIntMap ModulatorMap;