From 6d9ac187380260c31945171c4e7bed7500fa18dd Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 18 Jun 2008 17:54:34 +0000 Subject: [PATCH] This should have been caught sooner git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8808 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/asr_tts/mod_cepstral/mod_cepstral.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/asr_tts/mod_cepstral/mod_cepstral.c b/src/mod/asr_tts/mod_cepstral/mod_cepstral.c index ae6f47cfc5..c6f5125c34 100644 --- a/src/mod/asr_tts/mod_cepstral/mod_cepstral.c +++ b/src/mod/asr_tts/mod_cepstral/mod_cepstral.c @@ -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;