Files
freeswitch-modules/mod_custom_tts/custom_glue.h
Hoan Luu Huu 466dec7a6f mod_custom_tts (#53)
* mod_custom_tts

Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com>

* add custom_vendor to mod_dub

* wip

Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com>

* wip

Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com>

---------

Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com>
2024-05-28 19:27:17 -04:00

12 lines
521 B
C

#ifndef __CUSTOM_GLUE_H__
#define __CUSTOM_GLUE_H__
switch_status_t custom_speech_load();
switch_status_t custom_speech_open(custom_t* custom);
switch_status_t custom_speech_feed_tts(custom_t* custom, char* text, switch_speech_flag_t *flags);
switch_status_t custom_speech_read_tts(custom_t* custom, void *data, size_t *datalen, switch_speech_flag_t *flags);
switch_status_t custom_speech_flush_tts(custom_t* custom);
switch_status_t custom_speech_close(custom_t* custom);
switch_status_t custom_speech_unload();
#endif