diff options
author | Chris Robinson <[email protected]> | 2013-12-20 00:47:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-20 00:50:43 -0800 |
commit | 5dc3f3626d63361f4cefc829bce9aedb3c5774cf (patch) | |
tree | 0cf6fa3fd2c593591f93a898250b7d34f55e6990 /OpenAL32/Include | |
parent | d596cf9cf32302b122a59ae2d5313bd8d051b479 (diff) |
Better protect against improper alSoundfontSamplesSOFT calls
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMidi.h | 1 |
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; |