From 9e6c7b8c46df662a8777742ccb150c1bfff5d421 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 26 Feb 2022 23:42:10 -0500 Subject: Change xas_vox_new() argument order --- examples/say.c | 6 +++--- examples/spatial.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/say.c b/examples/say.c index 8741a10..92856f2 100644 --- a/examples/say.c +++ b/examples/say.c @@ -97,9 +97,9 @@ int main(int argc, char **argv) { usage(argc, argv, "No output file provided"); } - if ((vox = xas_vox_new("/usr/bin/text2wave", - format, - buffer_size)) == NULL) { + if ((vox = xas_vox_new(format, + buffer_size, + "/usr/bin/text2wave")) == NULL) { goto error_vox_new; } diff --git a/examples/spatial.c b/examples/spatial.c index 9527cbe..b291fd2 100644 --- a/examples/spatial.c +++ b/examples/spatial.c @@ -110,9 +110,9 @@ int main(int argc, char **argv) { goto error_synth_new; } - if ((vox = xas_vox_new("/usr/bin/text2wave", - format, - buffer_size)) == NULL) { + if ((vox = xas_vox_new(format, + buffer_size, + "/usr/bin/text2wave")) == NULL) { goto error_vox_new; } -- cgit v1.2.3