summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-01 01:49:43 -0500
committerXANTRONIX Development2022-03-01 01:49:43 -0500
commit91a00438028c9e48d0fffbcc838fe038cc18d7e0 (patch)
tree2769ce2cc264824024c8fa8e603881dc2dac44a7 /include/xas
parent6667ece6e0cec1a515f076f310295a5e691c24c3 (diff)
downloadxas-91a00438028c9e48d0fffbcc838fe038cc18d7e0.tar.gz
xas-91a00438028c9e48d0fffbcc838fe038cc18d7e0.tar.bz2
xas-91a00438028c9e48d0fffbcc838fe038cc18d7e0.zip
Destroy managed spatial scene objects
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/spatial.h4
1 files changed, 4 insertions, 0 deletions
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 <xas/audio.h>
+#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;