RTS API Documentation
1.10.11
|
#include <switch_module_interfaces.h>
Data Fields | |
switch_speech_interface_t * | speech_interface |
uint32_t | flags |
char * | name |
uint32_t | rate |
uint32_t | speed |
uint32_t | samples |
uint32_t | channels |
uint32_t | real_channels |
char | voice [80] |
char * | engine |
char * | param |
switch_memory_pool_t * | memory_pool |
switch_audio_resampler_t * | resampler |
switch_buffer_t * | buffer |
switch_byte_t * | dbuf |
switch_size_t | dbuflen |
uint32_t | samplerate |
uint32_t | native_rate |
void * | private_info |
an abstract representation of a tts speech interface.
Definition at line 487 of file switch_module_interfaces.h.
switch_buffer_t* switch_speech_handle::buffer |
Definition at line 507 of file switch_module_interfaces.h.
Referenced by switch_core_speech_close(), and switch_core_speech_read_tts().
uint32_t switch_speech_handle::channels |
Definition at line 498 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open(), switch_core_speech_read_tts(), and switch_ivr_speak_text_handle().
switch_byte_t* switch_speech_handle::dbuf |
Definition at line 508 of file switch_module_interfaces.h.
Referenced by switch_core_speech_read_tts().
switch_size_t switch_speech_handle::dbuflen |
Definition at line 509 of file switch_module_interfaces.h.
Referenced by switch_core_speech_read_tts().
char* switch_speech_handle::engine |
Definition at line 501 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open().
uint32_t switch_speech_handle::flags |
flags to control behaviour
Definition at line 491 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open().
switch_memory_pool_t* switch_speech_handle::memory_pool |
the handle's memory pool
Definition at line 505 of file switch_module_interfaces.h.
Referenced by switch_core_speech_close(), switch_core_speech_open(), and switch_core_speech_read_tts().
char* switch_speech_handle::name |
The Name
Definition at line 493 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open().
uint32_t switch_speech_handle::native_rate |
the current native samplerate
Definition at line 513 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open(), and switch_core_speech_read_tts().
char* switch_speech_handle::param |
module specific param
Definition at line 503 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open().
void* switch_speech_handle::private_info |
the number of channels
private data for the format module to store handle specific info
Definition at line 517 of file switch_module_interfaces.h.
uint32_t switch_speech_handle::rate |
The Rate
Definition at line 495 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open(), and switch_ivr_speak_text_handle().
uint32_t switch_speech_handle::real_channels |
Definition at line 499 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open(), and switch_core_speech_read_tts().
switch_audio_resampler_t* switch_speech_handle::resampler |
Definition at line 506 of file switch_module_interfaces.h.
Referenced by switch_core_speech_close(), and switch_core_speech_read_tts().
uint32_t switch_speech_handle::samplerate |
the current samplerate
Definition at line 511 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open(), and switch_core_speech_read_tts().
uint32_t switch_speech_handle::samples |
Definition at line 497 of file switch_module_interfaces.h.
Referenced by switch_core_speech_open(), switch_ivr_speak_text(), and switch_ivr_speak_text_handle().
switch_speech_interface_t* switch_speech_handle::speech_interface |
the interface of the module that implemented the current speech interface
Definition at line 489 of file switch_module_interfaces.h.
Referenced by switch_core_speech_close(), switch_core_speech_feed_tts(), switch_core_speech_float_param_tts(), switch_core_speech_flush_tts(), switch_core_speech_numeric_param_tts(), switch_core_speech_open(), switch_core_speech_read_tts(), switch_core_speech_text_param_tts(), and switch_ivr_clear_speech_cache().
uint32_t switch_speech_handle::speed |
Definition at line 496 of file switch_module_interfaces.h.
char switch_speech_handle::voice[80] |
Definition at line 500 of file switch_module_interfaces.h.