From 78a788bff6779a79357b346901f477060ad5d96f Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 28 Feb 2022 17:14:17 -0500 Subject: s/new_stream/stream_new/ for consistency --- src/script.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/script.c') diff --git a/src/script.c b/src/script.c index b983577..29d76ca 100644 --- a/src/script.c +++ b/src/script.c @@ -279,9 +279,9 @@ int xas_script_play(xas_script *script, xas_audio_stream *sink) { int16_t *samples; - if ((source = xas_spatial_scene_new_stream(script->scene, + if ((source = xas_spatial_scene_stream_new(script->scene, script->buffer_size)) == NULL) { - goto error_spatial_scene_new_stream; + goto error_spatial_scene_stream_new; } while (ev) { @@ -321,6 +321,6 @@ error_audio_stream_io: error_event_trigger: xas_audio_stream_destroy(source); -error_spatial_scene_new_stream: +error_spatial_scene_stream_new: return -1; } -- cgit v1.2.3