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, 7 insertions, 0 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index b25a35c6..b7d36642 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -15,12 +15,19 @@ typedef struct ALbuffer
{
ALenum format;
ALenum eOriginalFormat;
+
ALshort *data;
ALsizei size;
+
ALsizei frequency;
ALsizei padding;
ALenum state;
+
ALuint refcount; // Number of sources using this buffer (deletion can only occur when this is 0)
+
+ // Index to itself
+ ALuint buffer;
+
struct ALbuffer *next;
} ALbuffer;