提交 6d9ac187 authored 作者: Brian West's avatar Brian West

This should have been caught sooner

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8808 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 510f0d8a
......@@ -114,7 +114,7 @@ static swift_result_t write_audio(swift_event * event, swift_event_t type, void
return rv;
}
static switch_status_t cepstral_speech_open(switch_speech_handle_t *sh, char *voice_name, int rate, switch_speech_flag_t *flags)
static switch_status_t cepstral_speech_open(switch_speech_handle_t *sh, const char *voice_name, int rate, switch_speech_flag_t *flags)
{
cepstral_t *cepstral = switch_core_alloc(sh->memory_pool, sizeof(*cepstral));
char srate[25];
......@@ -325,7 +325,7 @@ static switch_status_t cepstral_speech_read_tts(switch_speech_handle_t *sh, void
return status;
}
static void cepstral_text_param_tts(switch_speech_handle_t *sh, char *param, char *val)
static void cepstral_text_param_tts(switch_speech_handle_t *sh, char *param, const char *val)
{
cepstral_t *cepstral;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论