diff options
author | Chris Robinson <[email protected]> | 2011-09-11 03:57:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-11 03:57:40 -0700 |
commit | 1fdc25df7551c2186704f47fd5eb19485f88edb4 (patch) | |
tree | f429b30cd49cad9f135fcaa6d347342e5bb10627 /OpenAL32/Include | |
parent | 4db24af59a87675eae1f3542f81fb3d3de6cb9ac (diff) |
Use a RWLock to protect access to a buffer instead of the device lock
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 8e18732a..6ab25615 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -87,6 +87,8 @@ typedef struct ALbuffer RefCount ref; // Number of sources using this buffer (deletion can only occur when this is 0) + RWLock lock; + // Index to itself ALuint buffer; } ALbuffer; |