This should have been caught sooner

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8808 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-06-18 17:54:34 +00:00
parent 510f0d8a55
commit 6d9ac18738
1 changed files with 2 additions and 2 deletions

View File

@ -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;