From 4f717a808a85bf212fc550527e8fc72cbcaeb220 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 16 Mar 2022 00:37:25 -0400 Subject: Use generic object calls in event_trigger() --- src/seq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/seq.c b/src/seq.c index 616431e..b74dc9a 100644 --- a/src/seq.c +++ b/src/seq.c @@ -527,12 +527,12 @@ static int event_trigger(xas_spatial_scene *scene, xas_seq_event *ev) { break; case XAS_SEQ_EVENT_SET_BANK_INDEX: - xas_bank_player_set_entry(ev->object->ctx, ev->index); + xas_object_set_entry(ev->object->ctx, ev->index); break; case XAS_SEQ_EVENT_SET_PLAYER_FLAGS: - xas_bank_player_set_flags(ev->object->ctx, ev->flags); + xas_object_set_flags(ev->object->ctx, ev->flags); break; -- cgit v1.2.3