diff options
author | Chris Robinson <[email protected]> | 2018-11-27 13:41:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-27 13:41:30 -0800 |
commit | f26083e9edc6491f553aae951886d89b70288528 (patch) | |
tree | 1bb2b82ec786cbe2a98a3a5066c0be7c52dff1d1 /Alc/mixvoice.cpp | |
parent | 3f745be1dc4df7ffeec89f1d90af41e139fb49db (diff) |
Make and use a semaphore class
Diffstat (limited to 'Alc/mixvoice.cpp')
-rw-r--r-- | Alc/mixvoice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |