summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-07 11:57:52 -0500
committerXANTRONIX Development2022-03-07 11:57:52 -0500
commit40eea4ea9484a59e83c5a878e5bd869ed301d57e (patch)
treec290b430bff7dfcba59778f63c27365d22ed5ec5 /examples
parente7cc1aeb86e37cd55bb010a7ee26db39111db494 (diff)
downloadxas-40eea4ea9484a59e83c5a878e5bd869ed301d57e.tar.gz
xas-40eea4ea9484a59e83c5a878e5bd869ed301d57e.tar.bz2
xas-40eea4ea9484a59e83c5a878e5bd869ed301d57e.zip
Ensure voice is set in examples/spatial.c
Diffstat (limited to 'examples')
-rw-r--r--examples/spatial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/spatial.c b/examples/spatial.c
index 68d064d..5913d38 100644
--- a/examples/spatial.c
+++ b/examples/spatial.c
@@ -114,6 +114,8 @@ int main(int argc, char **argv) {
}
xas_synth_set_frequency(sine, 2600);
+
+ xas_vox_set_voice(voice->ctx, "voice_cmu_us_slt_cg");
xas_synth_start(sine);
xas_vox_sayf(vox, "I want to eat your soul.\n");