From 91a00438028c9e48d0fffbcc838fe038cc18d7e0 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 1 Mar 2022 01:49:43 -0500 Subject: Destroy managed spatial scene objects --- include/xas/spatial.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/xas/spatial.h b/include/xas/spatial.h index b9297f8..5287502 100644 --- a/include/xas/spatial.h +++ b/include/xas/spatial.h @@ -3,6 +3,9 @@ #include +#define XAS_SPATIAL_OBJECT_NONE 0 +#define XAS_SPATIAL_OBJECT_MANAGED (1 << 0) + #define XAS_SPATIAL_DEFAULT_OBSERVER_WIDTH 0.18f #define XAS_SPATIAL_DEFAULT_RADIUS 4000.0f /* metres */ #define XAS_SPATIAL_DEFAULT_SPEED 343.0f /* m/s */ @@ -40,6 +43,7 @@ struct _xas_spatial_object { xas_audio_stream *source; void *ctx; + int flags; xas_spatial_coord point; xas_spatial_object *next; -- cgit v1.2.3