diff options
author | Chris Robinson <[email protected]> | 2008-08-15 17:43:07 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-08-15 17:43:07 -0700 |
commit | db541f3cfa99b3b817f4aacde5a7f176afc464f9 (patch) | |
tree | 13863b45747b34bb98390e6c9647ee8a4444d310 /Alc/ALu.c | |
parent | 3e19ba6ca86758fa356094fab9e85c959421f73f (diff) |
Remove unneeded source struct member
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) { |