aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-07 16:05:06 -0800
committerChris Robinson <[email protected]>2014-11-07 16:05:06 -0800
commit35eacf058ec2be250e90aeafd145e5e159d0fd8f (patch)
treee1ba689e41461318f7cba765a76a5accbc3e2c22 /Alc
parent1a326c758b7b1f4cd05ce9ef4e042dcd22d8ef5d (diff)
Go to the next voice when a source is stopped
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
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)