summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-19 12:25:36 -0400
committerXANTRONIX Development2022-03-19 12:25:46 -0400
commit06e6fa5bf0d8fd714adca83703435e2274ba8698 (patch)
tree45a038762abf1d58c8208f354fea75c82effee08 /examples
parentc48eabffbe6dc192dedad73c86616ba26f7ed6d3 (diff)
downloadxas-06e6fa5bf0d8fd714adca83703435e2274ba8698.tar.gz
xas-06e6fa5bf0d8fd714adca83703435e2274ba8698.tar.bz2
xas-06e6fa5bf0d8fd714adca83703435e2274ba8698.zip
Use larger default vox buffer size of 20480
Use larger default vox buffer size of 20480 to improve performance and reduce number of read()/write() system calls
Diffstat (limited to 'examples')
-rw-r--r--examples/say.c1
-rw-r--r--examples/spatial.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/say.c b/examples/say.c
index 115c78f..2cc8982 100644
--- a/examples/say.c
+++ b/examples/say.c
@@ -84,7 +84,6 @@ int main(int argc, char **argv) {
}
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 183100a..39b6514 100644
--- a/examples/spatial.c
+++ b/examples/spatial.c
@@ -77,7 +77,6 @@ int main(int argc, char **argv) {
}
if ((vox = xas_vox_new(format,
- buffer_size,
"/usr/bin/text2wave")) == NULL) {
goto error_vox_new;
}