aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-05-24 01:07:13 -0700
committerChris Robinson <[email protected]>2010-05-24 01:07:13 -0700
commit8cfac7c6b8b1243e5e77bf2946820c79d18d8997 (patch)
treeb8245be58e31b623ee2405cceb9eb7d4da7c9440 /OpenAL32
parent9ac6b4c2c84ddbe89ec1db42f92c6e13dadfcc6e (diff)
Don't bother storing the loop points in the source
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alSource.h4
-rw-r--r--OpenAL32/alSource.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 85a73059..0802cbaa 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -78,10 +78,6 @@ typedef struct ALsource
ALint lOffset;
ALint lOffsetType;
- // Only valid for static sources types
- ALint LoopStart;
- ALint LoopEnd;
-
// Source Type (Static, Streaming, or Undetermined)
ALint lSourceType;
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 139eb75b..066e7f72 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -564,9 +564,6 @@ AL_API ALvoid AL_APIENTRY alSourcei(ALuint source,ALenum eParam,ALint lValue)
Source->queue = BufferListItem;
Source->BuffersInQueue = 1;
- Source->LoopStart = buffer->LoopStart;
- Source->LoopEnd = buffer->LoopEnd;
-
// Increment reference counter for buffer
buffer->refcount++;
}