diff options
author | Chris Robinson <[email protected]> | 2009-10-22 09:31:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-22 09:31:26 -0700 |
commit | 921e7ac3e9a6ef7cb17dec920f44169658d93c6f (patch) | |
tree | 042e1a107303e724919d9a6ddfc8813a8b6c8d26 /OpenAL32/Include | |
parent | 8d807add41a1be8601b9d9a34052c4af450f103c (diff) |
Store the buffer handle directly in the source and buffer queue list
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alSource.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 65928fc9..7e22584d 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -24,7 +24,7 @@ extern "C" { typedef struct ALbufferlistitem { - ALuint buffer; + struct ALbuffer *buffer; ALuint bufferstate; ALuint flag; struct ALbufferlistitem *next; @@ -49,12 +49,12 @@ typedef struct ALsource ALboolean bLooping; ALenum DistanceModel; - ALuint ulBufferID; - ALenum state; ALuint position; ALuint position_fraction; + struct ALbuffer *Buffer; + struct ALbufferlistitem *queue; // Linked list of buffers in queue ALuint BuffersInQueue; // Number of buffers in queue ALuint BuffersPlayed; // Number of buffers played on this loop |