]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
more tts interface fixes
authorMichael Jerris <mike@jerris.com>
Mon, 27 Feb 2006 04:48:51 +0000 (04:48 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 27 Feb 2006 04:48:51 +0000 (04:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@688 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_core.h
src/include/switch_module_interfaces.h
src/switch_core.c

index 6c220e469b69b85fb2959529cd748b07d1407fcc..fe54a0c527d2b6afed1262e1c96b18dad997239a 100644 (file)
@@ -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
index d7277873ed48157a7d014935ff63b68ca818e0f4..3f42b4d3ebb988d44a88b011058b3e1aa8b66bdb 100644 (file)
@@ -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;
index fcb6b6001bbc4a8322715874157a91c186517ab5..c049509772a320fb711250b790a7d87399462d0b 100644 (file)
@@ -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);