From 7eeb8f6219b4680d09cce0e08e4e507f2e22882a Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 13 Mar 2022 19:46:30 -0400 Subject: Use vox pointer directly in examples/spatial.c --- examples/spatial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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"); -- cgit v1.2.3