aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alBuffer.h7
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);