summaryrefslogtreecommitdiffstats
path: root/src/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c6
1 files changed, 3 insertions, 3 deletions
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;
}