diff options
author | Chris Robinson <[email protected]> | 2009-10-25 08:31:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-25 08:31:28 -0700 |
commit | a3fcd67a82c486e5409de5f6045f3147fb72179f (patch) | |
tree | de8b35550818eb616f495952bc347ac2a5dfef2d /OpenAL32/Include/alBuffer.h | |
parent | fe3a43e2d4bbc20cea32a2046404d8eabe9240ee (diff) |
Remove some unneeded buffer fields, make padding a constant amount
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index b7d36642..c35caf3d 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -7,21 +7,16 @@ extern "C" { #endif -#define UNUSED 0 -#define PENDING 1 -#define PROCESSED 2 +#define BUFFER_PADDING 2 typedef struct ALbuffer { - ALenum format; - ALenum eOriginalFormat; - ALshort *data; ALsizei size; + ALenum format; + ALenum eOriginalFormat; ALsizei frequency; - ALsizei padding; - ALenum state; ALuint refcount; // Number of sources using this buffer (deletion can only occur when this is 0) |