FreeSWITCH API Documentation  1.7.0
Data Fields
switch_speech_handle Struct Reference

#include <switch_module_interfaces.h>

+ Collaboration diagram for switch_speech_handle:

Data Fields

switch_speech_interface_tspeech_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_tmemory_pool
 
switch_audio_resampler_tresampler
 
switch_buffer_tbuffer
 
switch_byte_tdbuf
 
switch_size_t dbuflen
 
uint32_t samplerate
 
uint32_t native_rate
 
void * private_info
 

Detailed Description

an abstract representation of a tts speech interface.

Definition at line 501 of file switch_module_interfaces.h.

Field Documentation

switch_buffer_t* switch_speech_handle::buffer

Definition at line 521 of file switch_module_interfaces.h.

uint32_t switch_speech_handle::channels

Definition at line 512 of file switch_module_interfaces.h.

switch_byte_t* switch_speech_handle::dbuf

Definition at line 522 of file switch_module_interfaces.h.

switch_size_t switch_speech_handle::dbuflen

Definition at line 523 of file switch_module_interfaces.h.

char* switch_speech_handle::engine

Definition at line 515 of file switch_module_interfaces.h.

uint32_t switch_speech_handle::flags

flags to control behaviour

Definition at line 505 of file switch_module_interfaces.h.

switch_memory_pool_t* switch_speech_handle::memory_pool

the handle's memory pool

Definition at line 519 of file switch_module_interfaces.h.

char* switch_speech_handle::name

The Name

Definition at line 507 of file switch_module_interfaces.h.

uint32_t switch_speech_handle::native_rate

the current native samplerate

Definition at line 527 of file switch_module_interfaces.h.

char* switch_speech_handle::param

module specific param

Definition at line 517 of file switch_module_interfaces.h.

void* switch_speech_handle::private_info

the number of channels

private data for the format module to store handle specific info

Definition at line 531 of file switch_module_interfaces.h.

uint32_t switch_speech_handle::rate

The Rate

Definition at line 509 of file switch_module_interfaces.h.

uint32_t switch_speech_handle::real_channels

Definition at line 513 of file switch_module_interfaces.h.

switch_audio_resampler_t* switch_speech_handle::resampler

Definition at line 520 of file switch_module_interfaces.h.

uint32_t switch_speech_handle::samplerate

the current samplerate

Definition at line 525 of file switch_module_interfaces.h.

uint32_t switch_speech_handle::samples

Definition at line 511 of file switch_module_interfaces.h.

Referenced by switch_ivr_speak_text().

switch_speech_interface_t* switch_speech_handle::speech_interface

the interface of the module that implemented the current speech interface

Definition at line 503 of file switch_module_interfaces.h.

Referenced by switch_ivr_clear_speech_cache().

uint32_t switch_speech_handle::speed

Definition at line 510 of file switch_module_interfaces.h.

char switch_speech_handle::voice[80]

Definition at line 514 of file switch_module_interfaces.h.


The documentation for this struct was generated from the following file: