[Freeswitch-svn] [commit] r12153 - in freeswitch/trunk/src: . mod/asr_tts/mod_flite

FreeSWITCH SVN mikej at freeswitch.org
Wed Feb 18 19:46:23 PST 2009


Author: mikej
Date: Wed Feb 18 21:46:23 2009
New Revision: 12153

Log:
fix build (FSBUILD-126)

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_flite/mod_flite.c
   freeswitch/trunk/src/switch_cpp.cpp

Modified: freeswitch/trunk/src/mod/asr_tts/mod_flite/mod_flite.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_flite/mod_flite.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_flite/mod_flite.c	Wed Feb 18 21:46:23 2009
@@ -109,7 +109,7 @@
 	free_wave(flite->w);
 }
 
-static switch_status_t flite_speech_read_tts(switch_speech_handle_t *sh, void *data, size_t *datalen, uint32_t *rate, switch_speech_flag_t *flags)
+static switch_status_t flite_speech_read_tts(switch_speech_handle_t *sh, void *data, switch_size_t *datalen, switch_speech_flag_t *flags)
 {
 	size_t bytes_read;
 	flite_t *flite = (flite_t *) sh->private_info;

Modified: freeswitch/trunk/src/switch_cpp.cpp
==============================================================================
--- freeswitch/trunk/src/switch_cpp.cpp	(original)
+++ freeswitch/trunk/src/switch_cpp.cpp	Wed Feb 18 21:46:23 2009
@@ -179,7 +179,7 @@
 
 
 /* we have to do this as a string because swig and languages can't find an embedded way to pass a big int */
-SWITCH_DECLARE_NONSTD(char *) API::getTime(void)
+SWITCH_DECLARE(char *) API::getTime(void)
 {
 	switch_time_t now = switch_micro_time_now() / 1000;
 	snprintf(time_buf, sizeof(time_buf), "%" SWITCH_TIME_T_FMT, now);



More information about the Freeswitch-svn mailing list