aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f5e615e8..2faa84d2 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1608,9 +1608,9 @@ void ALCcontext_ProcessUpdates(ALCcontext *context)
if((Source->state == AL_PLAYING || Source->state == AL_PAUSED) &&
Source->Offset >= 0.0)
{
- ReadLock(&Source->queue_lock);
+ WriteLock(&Source->queue_lock);
ApplyOffset(Source);
- ReadUnlock(&Source->queue_lock);
+ WriteUnlock(&Source->queue_lock);
}
new_state = Source->new_state;