summaryrefslogtreecommitdiffstats
path: root/src/seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/seq.c')
-rw-r--r--src/seq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seq.c b/src/seq.c
index c4ab8d2..616431e 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -489,10 +489,10 @@ error_malloc_ev:
static int event_trigger(xas_spatial_scene *scene, xas_seq_event *ev) {
switch (ev->type) {
case XAS_SEQ_EVENT_OFF:
- return xas_spatial_object_stop(ev->object);
+ return xas_object_stop(ev->object->ctx);
case XAS_SEQ_EVENT_ON:
- return xas_spatial_object_start(ev->object);
+ return xas_object_start(ev->object->ctx);
case XAS_SEQ_EVENT_SET_POSITION:
xas_spatial_scene_position_object(scene,