diff options
author | Chris Robinson <[email protected]> | 2017-05-02 04:09:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-02 04:09:01 -0700 |
commit | 2f8d597f4ef3bcdfdad10edac2e9f74ddf3e23ff (patch) | |
tree | 890cea4418e12d51cc9bdd7cfaa3b09cfe901843 /Alc/mixer.c | |
parent | afe2065d60d211a8009909abc327eea8830c10f5 (diff) |
Rename 'moving' flag to 'fading'
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index e8d04bc2..64a8c1e1 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -296,7 +296,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei Resample = ((increment == FRACTIONONE && DataPosFrac == 0) ? Resample_copy32_C : voice->Resampler); - Counter = (voice->Flags&VOICE_IS_MOVING) ? SamplesToDo : 0; + Counter = (voice->Flags&VOICE_IS_FADING) ? SamplesToDo : 0; firstpass = true; OutPos = 0; @@ -663,7 +663,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei } } while(isplaying && OutPos < SamplesToDo); - voice->Flags |= VOICE_IS_MOVING; + voice->Flags |= VOICE_IS_FADING; /* Update source info */ ATOMIC_STORE(&voice->position, DataPosInt, almemory_order_relaxed); |