mirror of
https://github.com/jambonz/freeswitch-modules.git
synced 2025-12-19 09:07:44 +00:00
* support mod_playht_tts * wip Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com> * 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>
12 lines
521 B
C
12 lines
521 B
C
#ifndef __PLAYHT_GLUE_H__
|
|
#define __PLAYHT_GLUE_H__
|
|
|
|
switch_status_t playht_speech_load();
|
|
switch_status_t playht_speech_open(playht_t* playht);
|
|
switch_status_t playht_speech_feed_tts(playht_t* playht, char* text, switch_speech_flag_t *flags);
|
|
switch_status_t playht_speech_read_tts(playht_t* playht, void *data, size_t *datalen, switch_speech_flag_t *flags);
|
|
switch_status_t playht_speech_flush_tts(playht_t* playht);
|
|
switch_status_t playht_speech_close(playht_t* playht);
|
|
switch_status_t playht_speech_unload();
|
|
|
|
#endif |