diff options
author | Chris Robinson <[email protected]> | 2018-12-06 22:24:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-06 22:24:20 -0800 |
commit | 0f24139b57460c71d66b9a090217d34706d64dde (patch) | |
tree | 29138a2a4d6ff0734f4c205983cc7d6711790c6e /Alc/mixvoice.cpp | |
parent | 42d26472eb514a2fcb1eafbed93f56a697ebb3a0 (diff) |
Use a constructor instead of a macro to initialize AsyncEvent
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 f60043d7..cd5d2504 100644 --- a/Alc/mixvoice.cpp +++ b/Alc/mixvoice.cpp @@ -722,7 +722,7 @@ ALboolean MixSource(ALvoice *voice, ALuint SourceID, ALCcontext *Context, ALsize ALbitfieldSOFT enabledevt{Context->EnabledEvts.load(std::memory_order_acquire)}; if(buffers_done > 0 && (enabledevt&EventType_BufferCompleted)) { - AsyncEvent evt{ASYNC_EVENT(EventType_BufferCompleted)}; + AsyncEvent evt{EventType_BufferCompleted}; evt.u.bufcomp.id = SourceID; evt.u.bufcomp.count = buffers_done; if(ll_ringbuffer_write(Context->AsyncEvents, &evt, 1) == 1) |