diff options
author | Chris Robinson <[email protected]> | 2012-04-19 22:14:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-19 22:14:02 -0700 |
commit | 08bd5e8b37f63711a5d4d40418188e21c603f856 (patch) | |
tree | 913c3f6472a8bf2cd262fe2c5744c740e7f11ae6 /OpenAL32/Include/alBuffer.h | |
parent | 125b743e5cd9b37420e4b0d57e0c3f6502784f2f (diff) |
Fix comment and rename the buffer's self-id
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 397c8075..d7f4206a 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -84,12 +84,13 @@ typedef struct ALbuffer ALsizei LoopStart; ALsizei LoopEnd; - RefCount ref; // Number of sources using this buffer (deletion can only occur when this is 0) + /* Number of times buffer was attached to a source (deletion can only occur when 0) */ + RefCount ref; RWLock lock; - // Index to itself - ALuint buffer; + /* Self ID */ + ALuint id; } ALbuffer; ALvoid ReleaseALBuffers(ALCdevice *device); |