aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-10-10 01:31:31 -0700
committerChris Robinson <[email protected]>2008-10-10 01:31:31 -0700
commit59a71b1454303df58c4c7e39b17d8538bb867663 (patch)
tree972ec6bc396c6169bcf8afbc2e64f07428798744 /OpenAL32/alSource.c
parent36f133a5ae4c1d9ed4cf4769d69fea54e825822d (diff)
Remove another unused source member
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 799c18a9..dd88ed08 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -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) /