From 9b3c0674ecd647f68736ab18897381c478d48546 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 16 Mar 2022 01:41:19 -0400 Subject: Relocate method in src/scene.c --- src/spatial.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/spatial.c b/src/spatial.c index ef05e19..b40adc7 100644 --- a/src/spatial.c +++ b/src/spatial.c @@ -616,6 +616,14 @@ void xas_spatial_scene_position_object(xas_spatial_scene *scene, object_update_delays(scene); } +xas_audio_stream *xas_spatial_scene_stream_new(xas_spatial_scene *scene, + size_t buffer_size) { + return xas_audio_stream_new_source((xas_audio_fill)scene_fill, + NULL, + scene->format, + buffer_size, + scene); +} void xas_spatial_object_get_point(xas_spatial_object *object, xas_spatial_coord *point) { point->x = object->point.x; -- cgit v1.2.3