diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/spatial.c | 2 |
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"); |