From 297dd2f36cfc5d4f53ee7a6528e0064d913f8b75 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 1 Mar 2022 09:45:48 -0500 Subject: Make wrappers for adding new spatial scene objects --- include/xas/spatial.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include') diff --git a/include/xas/spatial.h b/include/xas/spatial.h index 5287502..ed5157a 100644 --- a/include/xas/spatial.h +++ b/include/xas/spatial.h @@ -1,6 +1,8 @@ #ifndef _XAS_SPATIAL_H #define _XAS_SPATIAL_H +#include +#include #include #define XAS_SPATIAL_OBJECT_NONE 0 @@ -95,6 +97,18 @@ xas_spatial_object *xas_spatial_scene_add_object(xas_spatial_scene *scene, xas_audio_stream *source, void *ctx); +xas_spatial_object *xas_spatial_scene_add_synth(xas_spatial_scene *scene, + xas_spatial_coord point, + enum xas_synth_type type); + +xas_spatial_object *xas_spatial_scene_add_bank_player(xas_spatial_scene *scene, + xas_spatial_coord point, + xas_bank *bank); + +xas_spatial_object *xas_spatial_scene_add_vox(xas_spatial_scene *scene, + xas_spatial_coord point, + const char *text2wave_path); + void xas_spatial_scene_position_object(xas_spatial_scene *scene, xas_spatial_object *object, xas_spatial_coord point); -- cgit v1.2.3