mirror of
https://github.com/jambonz/freeswitch-modules.git
synced 2026-01-25 02:08:27 +00:00
* whisper tts stream module * add convert mp3 to linear * add lmpg123 link * wip * whisper cache * wip * wip * clean up * add free mem and openai metric * whisper: cache files as mp3 for simplicity --------- Co-authored-by: Dave Horton <daveh@beachdognet.com>
12 lines
540 B
C
12 lines
540 B
C
#ifndef __WHISPER_GLUE_H__
|
|
#define __WHISPER_GLUE_H__
|
|
|
|
switch_status_t whisper_speech_load();
|
|
switch_status_t whisper_speech_open(whisper_t* whisper);
|
|
switch_status_t whisper_speech_feed_tts(whisper_t* whisper, char* text, switch_speech_flag_t *flags);
|
|
switch_status_t whisper_speech_read_tts(whisper_t* whisper, void *data, size_t *datalen, switch_speech_flag_t *flags);
|
|
switch_status_t whisper_speech_flush_tts(whisper_t* whisper);
|
|
switch_status_t whisper_speech_close(whisper_t* whisper);
|
|
switch_status_t whisper_speech_unload();
|
|
|
|
#endif |