Files
freeswitch-modules/mod_custom_tts/mod_custom_tts.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

31 lines
548 B
C

#ifndef __MOD_CUSTOM_TTS_H__
#define __MOD_CUSTOM_TTS_H__
#include <switch.h>
typedef struct custom_data {
char *voice_name;
char *auth_token;
char *custom_tts_url;
char *language;
/* result data */
long response_code;
char *ct;
char *name_lookup_time_ms;
char *connect_time_ms;
char *final_response_time_ms;
char *err_msg;
char *cache_filename;
char *session_id;
int rate;
int draining;
int reads;
int cache_audio;
void *conn;
void *circularBuffer;
switch_mutex_t *mutex;
FILE *file;
} custom_t;
#endif