summaryrefslogtreecommitdiffstats
path: root/src/vox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vox.c')
-rw-r--r--src/vox.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vox.c b/src/vox.c
index 84e2c28..f53f3fd 100644
--- a/src/vox.c
+++ b/src/vox.c
@@ -289,9 +289,10 @@ xas_vox *xas_vox_new_args(xas_audio_format format,
goto error_malloc_vox;
}
- vox->obj.start = (xas_object_start_callback)xas_vox_generate;
- vox->obj.stop = (xas_object_stop_callback)xas_vox_stop;
- vox->obj.set_gain = (xas_object_set_gain_callback)set_gain;
+ vox->obj.start = (xas_object_start_callback)xas_vox_generate;
+ vox->obj.stop = (xas_object_stop_callback)xas_vox_stop;
+ vox->obj.set_gain = (xas_object_set_gain_callback)set_gain;
+ vox->obj.stream_new = (xas_object_stream_new_callback)xas_vox_stream_new;
vox->text2wave_path = text2wave_path;