mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
more tts interface fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@688 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5fdc0232c4
commit
56727a4712
@ -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 {
|
|||||||
/*! 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 *
|
|||||||
|
|
||||||
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user