From 35eacf058ec2be250e90aeafd145e5e159d0fd8f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 7 Nov 2014 16:05:06 -0800 Subject: Go to the next voice when a source is stopped --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') diff --git a/Alc/ALc.c b/Alc/ALc.c index ed0019be..d514148d 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1604,7 +1604,7 @@ void ALCcontext_DeferUpdates(ALCcontext *context) if(source->state != AL_PLAYING && source->state != AL_PAUSED) { voice->Source = NULL; - continue; + goto next; } if(ATOMIC_EXCHANGE(ALenum, &source->NeedsUpdate, AL_FALSE) || UpdateSources) -- cgit v1.2.3