mirror of
https://github.com/jambonz/freeswitch-modules.git
synced 2025-12-19 09:07:44 +00:00
* deepgram tts mode 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> * fix crash audio sound Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com> * wip Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com> * wip * run with opus Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com> * dg-request-id check --------- Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com>
12 lines
559 B
C
12 lines
559 B
C
#ifndef __DEEPGRAM_GLUE_H__
|
|
#define __DEEPGRAM_GLUE_H__
|
|
|
|
switch_status_t deepgram_speech_load();
|
|
switch_status_t deepgram_speech_open(deepgram_t* deepgram);
|
|
switch_status_t deepgram_speech_feed_tts(deepgram_t* deepgram, char* text, switch_speech_flag_t *flags);
|
|
switch_status_t deepgram_speech_read_tts(deepgram_t* deepgram, void *data, size_t *datalen, switch_speech_flag_t *flags);
|
|
switch_status_t deepgram_speech_flush_tts(deepgram_t* deepgram);
|
|
switch_status_t deepgram_speech_close(deepgram_t* deepgram);
|
|
switch_status_t deepgram_speech_unload();
|
|
|
|
#endif |