aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-09-07 16:07:35 -0700
committerChris Robinson <[email protected]>2010-09-07 16:07:35 -0700
commitba32a52bb6b5e12d63e1eb3cc4be1a4022c4c4f7 (patch)
treec001f35ea1c2bd879d18c49a0b370d95296d1ea4
parent6027fda0ce3c5165f7a5494ebe6105c353db91b3 (diff)
Remove unused struct member
-rw-r--r--Alc/mixer.c2
-rw-r--r--OpenAL32/Include/alSource.h1
-rw-r--r--OpenAL32/alSource.c2
3 files changed, 0 insertions, 5 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 1ca0fcc0..2daac85b 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -608,8 +608,6 @@ static void MixSource(ALsource *ALSource, ALCcontext *ALContext,
ALSource->position = DataPosInt;
ALSource->position_fraction = DataPosFrac;
ALSource->Buffer = BufferListItem->buffer;
-
- ALSource->FirstStart = AL_FALSE;
}
ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index c18b8629..dbbc445f 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -82,7 +82,6 @@ typedef struct ALsource
ALint lSourceType;
// Current target parameters used for mixing
- ALboolean FirstStart;
ALboolean NeedsUpdate;
struct {
ALfloat DryGains[OUTPUTCHANNELS];
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 7e699816..a0865444 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1361,8 +1361,6 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
if(Source->lOffset)
ApplyOffset(Source);
- Source->FirstStart = AL_TRUE;
-
// If device is disconnected, go right to stopped
if(!Context->Device->Connected)
{