[Freeswitch-svn] [commit] r8808 - freeswitch/trunk/src/mod/asr_tts/mod_cepstral

Freeswitch SVN brian at freeswitch.org
Wed Jun 18 13:54:35 EDT 2008


Author: brian
Date: Wed Jun 18 13:54:34 2008
New Revision: 8808

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c

Log:
This should have been caught sooner

Modified: freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c	Wed Jun 18 13:54:34 2008
@@ -114,7 +114,7 @@
 	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 @@
 	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;
 



More information about the Freeswitch-svn mailing list