aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-08-15 17:43:07 -0700
committerChris Robinson <[email protected]>2008-08-15 17:43:07 -0700
commitdb541f3cfa99b3b817f4aacde5a7f176afc464f9 (patch)
tree13863b45747b34bb98390e6c9647ee8a4444d310 /Alc/ALu.c
parent3e19ba6ca86758fa356094fab9e85c959421f73f (diff)
Remove unneeded source struct member
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 1aaa1832..ec0e1761 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -925,8 +925,6 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
BufferListItem = BufferListItem->next;
}
}
- if(!Looping)
- ALSource->BuffersProcessed++;
if(BufferListItem)
ALSource->ulBufferID = BufferListItem->buffer;
ALSource->position = DataPosInt-DataSize;
@@ -940,7 +938,7 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
/* alSourceStop */
ALSource->state = AL_STOPPED;
ALSource->inuse = AL_FALSE;
- ALSource->BuffersPlayed = ALSource->BuffersProcessed = ALSource->BuffersInQueue;
+ ALSource->BuffersPlayed = ALSource->BuffersInQueue;
BufferListItem = ALSource->queue;
while(BufferListItem != NULL)
{
@@ -958,7 +956,6 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
ALSource->BuffersPlayed = 0;
ALSource->BufferPosition = 0;
ALSource->lBytesPlayed = 0;
- ALSource->BuffersProcessed = 0;
BufferListItem = ALSource->queue;
while(BufferListItem != NULL)
{