summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-16 02:05:02 -0400
committerXANTRONIX Development2022-03-16 02:05:02 -0400
commit80126af5ddf57c7404eb1a17b6dbc44314ac133f (patch)
treeba05a2466b0d0127ec65b319d96af8936bc5e12b
parent9b3c0674ecd647f68736ab18897381c478d48546 (diff)
downloadxas-80126af5ddf57c7404eb1a17b6dbc44314ac133f.tar.gz
xas-80126af5ddf57c7404eb1a17b6dbc44314ac133f.tar.bz2
xas-80126af5ddf57c7404eb1a17b6dbc44314ac133f.zip
Pass missing arg to xas_object_start(), stop()
-rw-r--r--src/seq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seq.c b/src/seq.c
index 9f8dc4a..6059d19 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -493,10 +493,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_object_stop(ev->object->ctx);
+ return xas_object_stop(ev->object->ctx, ev->index);
case XAS_SEQ_EVENT_ON:
- return xas_object_start(ev->object->ctx);
+ return xas_object_start(ev->object->ctx, ev->index);
case XAS_SEQ_EVENT_SET_POSITION:
xas_spatial_scene_position_object(scene,