aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-20 00:47:12 -0800
committerChris Robinson <[email protected]>2013-12-20 00:50:43 -0800
commit5dc3f3626d63361f4cefc829bce9aedb3c5774cf (patch)
tree0cf6fa3fd2c593591f93a898250b7d34f55e6990 /OpenAL32/Include
parentd596cf9cf32302b122a59ae2d5313bd8d051b479 (diff)
Better protect against improper alSoundfontSamplesSOFT calls
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMidi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index 70a2120d..fffb1174 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -117,6 +117,7 @@ typedef struct ALsoundfont {
ALshort *Samples;
ALint NumSamples;
+ RWLock Lock;
volatile ALenum Mapped;
ALuint id;