summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xas/spatial.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/xas/spatial.h b/include/xas/spatial.h
index df956a8..5323558 100644
--- a/include/xas/spatial.h
+++ b/include/xas/spatial.h
@@ -38,8 +38,10 @@ struct _xas_spatial_object {
ssize_t shift_l,
shift_r;
- xas_spatial_coord point;
xas_audio_stream *source;
+ void *ctx;
+
+ xas_spatial_coord point;
xas_spatial_object *next;
};
@@ -86,7 +88,8 @@ int xas_spatial_scene_set_radius(xas_spatial_scene *scene, float radius);
xas_spatial_object *xas_spatial_scene_add_object(xas_spatial_scene *scene,
xas_spatial_coord point,
- xas_audio_stream *source);
+ xas_audio_stream *source,
+ void *ctx);
void xas_spatial_scene_position_object(xas_spatial_scene *scene,
xas_spatial_object *object,