diff options
author | XANTRONIX Development | 2022-03-01 01:49:43 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-03-01 01:49:43 -0500 |
commit | 91a00438028c9e48d0fffbcc838fe038cc18d7e0 (patch) | |
tree | 2769ce2cc264824024c8fa8e603881dc2dac44a7 /include/xas | |
parent | 6667ece6e0cec1a515f076f310295a5e691c24c3 (diff) | |
download | xas-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.h | 4 |
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; |