aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.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/alSource.c
parent89d84131a46f0aa528eb0d3adbe0798cd4304b4e (diff)
Rename some struct members for consistency
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index e7c51a66..3f6c80c4 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -56,7 +56,7 @@ ALAPI ALvoid ALAPIENTRY alGenSources(ALsizei n,ALuint *sources)
// Check that the requested number of sources can be generated
if((Context->SourceCount + n) <= Device->MaxNoOfSources)
{
- ALsource **list = &Context->Source;
+ ALsource **list = &Context->SourceList;
while(*list)
list = &(*list)->next;
@@ -161,7 +161,7 @@ ALAPI ALvoid ALAPIENTRY alDeleteSources(ALsizei n, const ALuint *sources)
Context->SourceCount--;
// Remove Source from list of Sources
- list = &Context->Source;
+ list = &Context->SourceList;
while(*list && *list != ALSource)
list = &(*list)->next;
@@ -192,7 +192,7 @@ ALAPI ALboolean ALAPIENTRY alIsSource(ALuint source)
if(!Context) return AL_FALSE;
// To determine if this is a valid Source name, look through the list of generated Sources
- Source = Context->Source;
+ Source = Context->SourceList;
while(Source)
{
if(Source->source == source)
@@ -2137,10 +2137,10 @@ ALvoid ReleaseALSources(ALCcontext *Context)
{
ALuint j;
- while(Context->Source)
+ while(Context->SourceList)
{
- ALsource *temp = Context->Source;
- Context->Source = temp->next;
+ ALsource *temp = Context->SourceList;
+ Context->SourceList = temp->next;
// For each buffer in the source's queue, decrement its reference counter and remove it
while(temp->queue != NULL)