summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-13 19:46:30 -0400
committerXANTRONIX Development2022-03-13 19:46:30 -0400
commit7eeb8f6219b4680d09cce0e08e4e507f2e22882a (patch)
tree550acbc3f49303149befa3f84224f15eee2ec284 /examples
parent7b8375ee2026d42b5444f8ae0e7b98e272e87d69 (diff)
downloadxas-7eeb8f6219b4680d09cce0e08e4e507f2e22882a.tar.gz
xas-7eeb8f6219b4680d09cce0e08e4e507f2e22882a.tar.bz2
xas-7eeb8f6219b4680d09cce0e08e4e507f2e22882a.zip
Use vox pointer directly in examples/spatial.c
Diffstat (limited to 'examples')
-rw-r--r--examples/spatial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/spatial.c b/examples/spatial.c
index 5913d38..183100a 100644
--- a/examples/spatial.c
+++ b/examples/spatial.c
@@ -115,7 +115,7 @@ int main(int argc, char **argv) {
xas_synth_set_frequency(sine, 2600);
- xas_vox_set_voice(voice->ctx, "voice_cmu_us_slt_cg");
+ xas_vox_set_voice(vox, "voice_cmu_us_slt_cg");
xas_synth_start(sine);
xas_vox_sayf(vox, "I want to eat your soul.\n");