diff options
author | Chris Robinson <[email protected]> | 2012-04-19 21:46:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-19 21:46:29 -0700 |
commit | 125b743e5cd9b37420e4b0d57e0c3f6502784f2f (patch) | |
tree | 0a875b9b6587a8c0d2fc24de7f030d81f5d9cefa /Alc/mixer.c | |
parent | 9a3eb397f4e39b293b6dfd3f539161fde3c70977 (diff) |
Remove hungarian notation from sources
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index ed2f49a5..a54a10f8 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -535,7 +535,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) BuffersPlayed = Source->BuffersPlayed; DataPosInt = Source->position; DataPosFrac = Source->position_fraction; - Looping = Source->bLooping; + Looping = Source->Looping; increment = Source->Params.Step; Resampler = Source->Resampler; NumChannels = Source->NumChannels; @@ -566,7 +566,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) BufferSize = (ALuint)mini64(DataSize64, STACK_DATA_SIZE/sizeof(ALfloat)); BufferSize /= NumChannels; - if(Source->lSourceType == AL_STATIC) + if(Source->SourceType == AL_STATIC) { const ALbuffer *ALBuffer = Source->queue->buffer; const ALubyte *Data = ALBuffer->data; @@ -770,7 +770,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) break; } - if(Looping && Source->lSourceType == AL_STATIC) + if(Looping && Source->SourceType == AL_STATIC) { DataPosInt = ((DataPosInt-LoopStart)%(LoopEnd-LoopStart)) + LoopStart; break; |