summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alBuffer.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-15 09:14:08 -0700
committerChris Robinson <[email protected]>2009-08-15 09:14:08 -0700
commit43067ed2b8d4ab9c3f46b8ee002d6c3f6480cc4f (patch)
treec83c89f3a37a468f18d8aa533b97ca8027fa96f3 /OpenAL32/Include/alBuffer.h
parent4e4c9aef1581fbec81294f20e2466d9d63e26ad8 (diff)
Store the buffer list in the device
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r--OpenAL32/Include/alBuffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index 75e97d18..b25a35c6 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -11,7 +11,7 @@ extern "C" {
#define PENDING 1
#define PROCESSED 2
-typedef struct ALbuffer_struct
+typedef struct ALbuffer
{
ALenum format;
ALenum eOriginalFormat;
@@ -21,12 +21,12 @@ typedef struct ALbuffer_struct
ALsizei padding;
ALenum state;
ALuint refcount; // Number of sources using this buffer (deletion can only occur when this is 0)
- struct ALbuffer_struct *next;
+ struct ALbuffer *next;
} ALbuffer;
ALvoid ALAPIENTRY alBufferSubDataEXT(ALuint buffer,ALenum format,const ALvoid *data,ALsizei offset,ALsizei length);
-ALvoid ReleaseALBuffers(ALvoid);
+ALvoid ReleaseALBuffers(ALCdevice *device);
#ifdef __cplusplus
}