Files
freeswitch-modules/mod_playht_tts/playht_glue.h
Hoan Luu Huu ee488e4621 support mod_playht_tts (#38)
* 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>
2024-04-08 10:22:16 -04:00

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