diff options
author | XANTRONIX Development | 2022-03-01 09:45:48 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-03-01 09:47:11 -0500 |
commit | 297dd2f36cfc5d4f53ee7a6528e0064d913f8b75 (patch) | |
tree | e065d6c1bd1f63915bbbbd3d047c938b487ead1d /include | |
parent | 2096356f1d4fb95cd1273018bcbff13c88487f8d (diff) | |
download | xas-297dd2f36cfc5d4f53ee7a6528e0064d913f8b75.tar.gz xas-297dd2f36cfc5d4f53ee7a6528e0064d913f8b75.tar.bz2 xas-297dd2f36cfc5d4f53ee7a6528e0064d913f8b75.zip |
Make wrappers for adding new spatial scene objects
Diffstat (limited to 'include')
-rw-r--r-- | include/xas/spatial.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <xas/synth.h> +#include <xas/bank.h> #include <xas/audio.h> #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); |