From f26083e9edc6491f553aae951886d89b70288528 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 27 Nov 2018 13:41:30 -0800 Subject: Make and use a semaphore class --- Alc/mixvoice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/mixvoice.cpp') diff --git a/Alc/mixvoice.cpp b/Alc/mixvoice.cpp index 86de61ee..1aa3000b 100644 --- a/Alc/mixvoice.cpp +++ b/Alc/mixvoice.cpp @@ -204,7 +204,7 @@ static void SendAsyncEvent(ALCcontext *context, ALuint enumtype, ALenum type, evt.u.user.param = param; strcpy(evt.u.user.msg, msg); if(ll_ringbuffer_write(context->AsyncEvents, &evt, 1) == 1) - alsem_post(&context->EventSem); + context->EventSem.post(); } -- cgit v1.2.3