Remove another unused source member

This commit is contained in:
Chris Robinson 2008-10-10 01:31:31 -07:00
parent 36f133a5ae
commit 59a71b1454
3 changed files with 0 additions and 7 deletions

View File

@ -922,7 +922,6 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
ALSource->inuse = AL_TRUE;
ALSource->play = AL_TRUE;
ALSource->BuffersPlayed = 0;
ALSource->lBytesPlayed = 0;
BufferListItem = ALSource->queue;
while(BufferListItem != NULL)
{

View File

@ -87,8 +87,6 @@ typedef struct ALsource
// Index to itself
ALuint source;
ALint lBytesPlayed;
ALint lOffset;
ALint lOffsetType;

View File

@ -1411,7 +1411,6 @@ ALAPI ALvoid ALAPIENTRY alSourcePlayv(ALsizei n, const ALuint *pSourceList)
pSource->position = 0;
pSource->position_fraction = 0;
pSource->BuffersPlayed = 0;
pSource->lBytesPlayed = 0;
pSource->ulBufferID = pSource->queue->buffer;
@ -2146,9 +2145,6 @@ static void ApplyOffset(ALsource *pSource, ALboolean bUpdateContext)
// Set Current Buffer ID
pSource->ulBufferID = pBufferList->buffer;
// Set Total Bytes Played to Offset
pSource->lBytesPlayed = lByteOffset;
// SW Mixer Positions are in Samples
pSource->position = (lByteOffset - lTotalBufferSize) /
aluBytesFromFormat(pBuffer->format) /