aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-16 15:37:41 -0700
committerChris Robinson <[email protected]>2010-03-16 15:37:41 -0700
commitec917e8e2ff30d2c2da873b3ce4f95160c89f03f (patch)
tree6fa1623ba3b353a517b5d0b1b99b45db59f3b0e7 /OpenAL32/alBuffer.c
parent89d84131a46f0aa528eb0d3adbe0798cd4304b4e (diff)
Rename some struct members for consistency
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r--OpenAL32/alBuffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index ace59ceb..2c909653 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -118,7 +118,7 @@ ALAPI ALvoid ALAPIENTRY alGenBuffers(ALsizei n,ALuint *puiBuffers)
// Check the pointer is valid (and points to enough memory to store Buffer Names)
if (!IsBadWritePtr((void*)puiBuffers, n * sizeof(ALuint)))
{
- ALbuffer **list = &device->Buffers;
+ ALbuffer **list = &device->BufferList;
while(*list)
list = &(*list)->next;
@@ -205,7 +205,7 @@ ALAPI ALvoid ALAPIENTRY alDeleteBuffers(ALsizei n, const ALuint *puiBuffers)
{
if (puiBuffers[i] && alIsBuffer(puiBuffers[i]))
{
- ALbuffer **list = &device->Buffers;
+ ALbuffer **list = &device->BufferList;
ALBuf=((ALbuffer *)ALTHUNK_LOOKUPENTRY(puiBuffers[i]));
while(*list && *list != ALBuf)
@@ -254,7 +254,7 @@ ALAPI ALboolean ALAPIENTRY alIsBuffer(ALuint uiBuffer)
TgtALBuf = (ALbuffer *)ALTHUNK_LOOKUPENTRY(uiBuffer);
// Check through list of generated buffers for uiBuffer
- ALBuf = device->Buffers;
+ ALBuf = device->BufferList;
while (ALBuf)
{
if (ALBuf == TgtALBuf)
@@ -1263,7 +1263,7 @@ ALvoid ReleaseALBuffers(ALCdevice *device)
ALbuffer *ALBuffer;
ALbuffer *ALBufferTemp;
- ALBuffer = device->Buffers;
+ ALBuffer = device->BufferList;
while(ALBuffer)
{
// Release sample data
@@ -1275,6 +1275,6 @@ ALvoid ReleaseALBuffers(ALCdevice *device)
memset(ALBufferTemp, 0, sizeof(ALbuffer));
free(ALBufferTemp);
}
- device->Buffers = NULL;
+ device->BufferList = NULL;
device->BufferCount = 0;
}