fix build (FSBUILD-126)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12153 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
fcd6944f5d
commit
8812477e7f
|
@ -109,7 +109,7 @@ static void flite_speech_flush_tts(switch_speech_handle_t *sh)
|
|||
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;
|
||||
|
|
|
@ -179,7 +179,7 @@ SWITCH_DECLARE(const char *) API::execute(const char *cmd, const char *arg)
|
|||
|
||||
|
||||
/* 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);
|
||||
|
|
Loading…
Reference in New Issue