Files
freeswitch-modules/mod_nuance_transcribe/nuance_glue.h
2023-12-26 10:57:15 -05:00

12 lines
672 B
C

#ifndef __NUANCE_GLUE_H__
#define __NUANCE_GLUE_H__
switch_status_t nuance_speech_init();
switch_status_t nuance_speech_cleanup();
switch_status_t nuance_speech_session_init(switch_core_session_t *session, responseHandler_t responseHandler,
uint32_t samples_per_second, uint32_t channels, char* lang, int interim, char *bugname, void **ppUserData);
switch_status_t nuance_speech_session_start_timers(switch_core_session_t *session, switch_media_bug_t *bug);
switch_status_t nuance_speech_session_cleanup(switch_core_session_t *session, int channelIsClosing, switch_media_bug_t *bug);
switch_bool_t nuance_speech_frame(switch_media_bug_t *bug, void* user_data);
#endif