From 56727a471257cdae025118eb679399ebf2a428ba Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 27 Feb 2006 04:48:51 +0000 Subject: [PATCH] more tts interface fixes git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@688 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_core.h | 4 ++-- src/include/switch_module_interfaces.h | 4 ++-- src/switch_core.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/include/switch_core.h b/src/include/switch_core.h index 6c220e469b..fe54a0c527 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -814,8 +814,8 @@ SWITCH_DECLARE(switch_status) switch_core_speech_feed_tts(switch_speech_handle * */ SWITCH_DECLARE(switch_status) switch_core_speech_read_tts(switch_speech_handle *sh, void *data, - unsigned int *datalen, - unsigned int *rate, + size_t *datalen, + size_t *rate, switch_speech_flag *flags); /*! \brief Close an open speech handle diff --git a/src/include/switch_module_interfaces.h b/src/include/switch_module_interfaces.h index d7277873ed..3f42b4d3eb 100644 --- a/src/include/switch_module_interfaces.h +++ b/src/include/switch_module_interfaces.h @@ -300,8 +300,8 @@ struct switch_speech_interface { /*! function to read audio from the TTS*/ switch_status (*speech_read_tts)(switch_speech_handle *sh, void *data, - unsigned int *datalen, - unsigned int *rate, + size_t *datalen, + size_t *rate, switch_speech_flag *flags); const struct switch_speech_interface *next; diff --git a/src/switch_core.c b/src/switch_core.c index fcb6b6001b..c049509772 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -523,8 +523,8 @@ SWITCH_DECLARE(switch_status) switch_core_speech_feed_tts(switch_speech_handle * SWITCH_DECLARE(switch_status) switch_core_speech_read_tts(switch_speech_handle *sh, void *data, - unsigned int *datalen, - unsigned int *rate, + size_t *datalen, + size_t *rate, switch_speech_flag *flags) { assert(sh != NULL);