提交 dd6ed9e4 authored 作者: Brian West's avatar Brian West

this should also have been fixed when the prototypes were changed to const

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8809 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 6d9ac187
......@@ -178,7 +178,7 @@ static switch_status_t lumenvox_asr_resume(switch_asr_handle_t *ah)
}
/*! function to open the asr interface */
static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, char *codec, int rate, char *dest, switch_asr_flag_t *flags)
static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, const char *codec, int rate, const char *dest, switch_asr_flag_t *flags)
{
lumenvox_t *lv;
......@@ -291,7 +291,7 @@ static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, char *codec, i
}
/*! function to load a grammar to the asr interface */
static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, char *grammar, char *path)
static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, const char *grammar, const char *path)
{
lumenvox_t *lv = (lumenvox_t *) ah->private_info;
......@@ -312,7 +312,7 @@ static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, char *
/*! function to unload a grammar to the asr interface */
static switch_status_t lumenvox_asr_unload_grammar(switch_asr_handle_t *ah, char *grammar)
static switch_status_t lumenvox_asr_unload_grammar(switch_asr_handle_t *ah, const char *grammar)
{
lumenvox_t *lv = (lumenvox_t *) ah->private_info;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论