aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-02 04:09:01 -0700
committerChris Robinson <[email protected]>2017-05-02 04:09:01 -0700
commit2f8d597f4ef3bcdfdad10edac2e9f74ddf3e23ff (patch)
tree890cea4418e12d51cc9bdd7cfaa3b09cfe901843 /Alc
parentafe2065d60d211a8009909abc327eea8830c10f5 (diff)
Rename 'moving' flag to 'fading'
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer.c4
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);