]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
This should have been caught sooner
authorBrian West <brian@freeswitch.org>
Wed, 18 Jun 2008 17:54:34 +0000 (17:54 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 18 Jun 2008 17:54:34 +0000 (17:54 +0000)
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

index ae6f47cfc55a0c103676fdfc07ca49aa244ca99d..c6f5125c34f72059d6afb4f294aece770bc10228 100644 (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;