From 921e7ac3e9a6ef7cb17dec920f44169658d93c6f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 22 Oct 2009 09:31:26 -0700 Subject: Store the buffer handle directly in the source and buffer queue list --- OpenAL32/Include/alSource.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenAL32/Include/alSource.h') 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 -- cgit v1.2.3