From db541f3cfa99b3b817f4aacde5a7f176afc464f9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 15 Aug 2008 17:43:07 -0700 Subject: Remove unneeded source struct member --- Alc/ALu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Alc/ALu.c') 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) { -- cgit v1.2.3