Remove unused struct member
This commit is contained in:
parent
6027fda0ce
commit
ba32a52bb6
@ -608,8 +608,6 @@ static void MixSource(ALsource *ALSource, ALCcontext *ALContext,
|
|||||||
ALSource->position = DataPosInt;
|
ALSource->position = DataPosInt;
|
||||||
ALSource->position_fraction = DataPosFrac;
|
ALSource->position_fraction = DataPosFrac;
|
||||||
ALSource->Buffer = BufferListItem->buffer;
|
ALSource->Buffer = BufferListItem->buffer;
|
||||||
|
|
||||||
ALSource->FirstStart = AL_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
|
ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
|
||||||
|
@ -82,7 +82,6 @@ typedef struct ALsource
|
|||||||
ALint lSourceType;
|
ALint lSourceType;
|
||||||
|
|
||||||
// Current target parameters used for mixing
|
// Current target parameters used for mixing
|
||||||
ALboolean FirstStart;
|
|
||||||
ALboolean NeedsUpdate;
|
ALboolean NeedsUpdate;
|
||||||
struct {
|
struct {
|
||||||
ALfloat DryGains[OUTPUTCHANNELS];
|
ALfloat DryGains[OUTPUTCHANNELS];
|
||||||
|
@ -1361,8 +1361,6 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
|
|||||||
if(Source->lOffset)
|
if(Source->lOffset)
|
||||||
ApplyOffset(Source);
|
ApplyOffset(Source);
|
||||||
|
|
||||||
Source->FirstStart = AL_TRUE;
|
|
||||||
|
|
||||||
// If device is disconnected, go right to stopped
|
// If device is disconnected, go right to stopped
|
||||||
if(!Context->Device->Connected)
|
if(!Context->Device->Connected)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user