aboutsummaryrefslogtreecommitdiffstats
path: root/alc/voice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-25 14:29:21 -0700
committerChris Robinson <[email protected]>2021-04-25 14:29:21 -0700
commit8d09d03ed363ab1735b1933588d8242ba85ddf10 (patch)
tree515b4149211d29b04f7076ee943bed6bb62d0a90 /alc/voice.cpp
parent0fe38c053d8dd827e774fbe0aef121e7aa0a0f28 (diff)
Move async_event.h to core
Diffstat (limited to 'alc/voice.cpp')
-rw-r--r--alc/voice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/voice.cpp b/alc/voice.cpp
index 8782e916..6abfcf59 100644
--- a/alc/voice.cpp
+++ b/alc/voice.cpp
@@ -42,9 +42,9 @@
#include "alspan.h"
#include "alstring.h"
#include "alu.h"
-#include "async_event.h"
#include "buffer_storage.h"
#include "core/ambidefs.h"
+#include "core/async_event.h"
#include "core/cpu_caps.h"
#include "core/devformat.h"
#include "core/device.h"
@@ -185,7 +185,7 @@ void SendSourceStoppedEvent(ContextBase *context, uint id)
AsyncEvent *evt{::new(evt_vec.first.buf) AsyncEvent{EventType_SourceStateChange}};
evt->u.srcstate.id = id;
- evt->u.srcstate.state = VChangeState::Stop;
+ evt->u.srcstate.state = AsyncEvent::SrcState::Stop;
ring->writeAdvance(1);
}