提交 56727a47 authored 作者: Michael Jerris's avatar Michael Jerris

more tts interface fixes

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@688 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5fdc0232
...@@ -814,8 +814,8 @@ SWITCH_DECLARE(switch_status) switch_core_speech_feed_tts(switch_speech_handle * ...@@ -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, SWITCH_DECLARE(switch_status) switch_core_speech_read_tts(switch_speech_handle *sh,
void *data, void *data,
unsigned int *datalen, size_t *datalen,
unsigned int *rate, size_t *rate,
switch_speech_flag *flags); switch_speech_flag *flags);
/*! /*!
\brief Close an open speech handle \brief Close an open speech handle
......
...@@ -300,8 +300,8 @@ struct switch_speech_interface { ...@@ -300,8 +300,8 @@ struct switch_speech_interface {
/*! function to read audio from the TTS*/ /*! function to read audio from the TTS*/
switch_status (*speech_read_tts)(switch_speech_handle *sh, switch_status (*speech_read_tts)(switch_speech_handle *sh,
void *data, void *data,
unsigned int *datalen, size_t *datalen,
unsigned int *rate, size_t *rate,
switch_speech_flag *flags); switch_speech_flag *flags);
const struct switch_speech_interface *next; const struct switch_speech_interface *next;
......
...@@ -523,8 +523,8 @@ SWITCH_DECLARE(switch_status) switch_core_speech_feed_tts(switch_speech_handle * ...@@ -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, SWITCH_DECLARE(switch_status) switch_core_speech_read_tts(switch_speech_handle *sh,
void *data, void *data,
unsigned int *datalen, size_t *datalen,
unsigned int *rate, size_t *rate,
switch_speech_flag *flags) switch_speech_flag *flags)
{ {
assert(sh != NULL); assert(sh != NULL);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论