FreeSWITCH API Documentation
1.7.0
|
Go to the source code of this file.
switch_status_t switch_core_speech_open | ( | switch_speech_handle_t * | sh, |
const char * | module_name, | ||
const char * | voice_name, | ||
unsigned int | rate, | ||
unsigned int | interval, | ||
unsigned int | channels, | ||
switch_speech_flag_t * | flags, | ||
switch_memory_pool_t * | pool | ||
) |
Definition at line 39 of file switch_core_speech.c.
References buf, pool, SWITCH_CHANNEL_LOG, switch_core_new_memory_pool, switch_core_strdup, switch_loadable_module_get_speech_interface(), SWITCH_LOG_ERROR, switch_log_printf(), switch_samples_per_packet, switch_set_flag, switch_set_string, SWITCH_SPEECH_FLAG_FREE_POOL, SWITCH_SPEECH_FLAG_OPEN, SWITCH_STATUS_FALSE, SWITCH_STATUS_GENERR, SWITCH_STATUS_SUCCESS, UNPROTECT_INTERFACE, and zstr.