summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/spatial.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/spatial.c b/examples/spatial.c
index b291fd2..ac467ee 100644
--- a/examples/spatial.c
+++ b/examples/spatial.c
@@ -116,6 +116,8 @@ int main(int argc, char **argv) {
goto error_vox_new;
}
+ xas_vox_set_parameter_float(vox, "Duration_Stretch", 1.3);
+
if ((voice = xas_vox_stream_new(vox)) == NULL) {
goto error_vox_stream_new;
}
@@ -168,6 +170,8 @@ int main(int argc, char **argv) {
xas_audio_stream_destroy(output);
xas_spatial_scene_destroy(scene);
+ xas_audio_stream_destroy(voice);
+ xas_vox_destroy(vox);
xas_audio_stream_destroy(synth);
xas_audio_stream_destroy(wave);