aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixvoice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-06 22:24:20 -0800
committerChris Robinson <[email protected]>2018-12-06 22:24:20 -0800
commit0f24139b57460c71d66b9a090217d34706d64dde (patch)
tree29138a2a4d6ff0734f4c205983cc7d6711790c6e /Alc/mixvoice.cpp
parent42d26472eb514a2fcb1eafbed93f56a697ebb3a0 (diff)
Use a constructor instead of a macro to initialize AsyncEvent
Diffstat (limited to 'Alc/mixvoice.cpp')
-rw-r--r--Alc/mixvoice.cpp2
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)