RTS API Documentation  1.10.11
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 487 of file switch_module_interfaces.h.

Field Documentation

◆ buffer

switch_buffer_t* switch_speech_handle::buffer

◆ channels

uint32_t switch_speech_handle::channels

◆ dbuf

switch_byte_t* switch_speech_handle::dbuf

Definition at line 508 of file switch_module_interfaces.h.

Referenced by switch_core_speech_read_tts().

◆ dbuflen

switch_size_t switch_speech_handle::dbuflen

Definition at line 509 of file switch_module_interfaces.h.

Referenced by switch_core_speech_read_tts().

◆ engine

char* switch_speech_handle::engine

Definition at line 501 of file switch_module_interfaces.h.

Referenced by switch_core_speech_open().

◆ flags

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().

◆ memory_pool

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().

◆ name

char* switch_speech_handle::name

The Name

Definition at line 493 of file switch_module_interfaces.h.

Referenced by switch_core_speech_open().

◆ native_rate

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().

◆ param

char* switch_speech_handle::param

module specific param

Definition at line 503 of file switch_module_interfaces.h.

Referenced by switch_core_speech_open().

◆ private_info

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.

◆ rate

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().

◆ real_channels

uint32_t switch_speech_handle::real_channels

◆ resampler

switch_audio_resampler_t* switch_speech_handle::resampler

◆ samplerate

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().

◆ samples

uint32_t switch_speech_handle::samples

◆ speech_interface

switch_speech_interface_t* switch_speech_handle::speech_interface

◆ speed

uint32_t switch_speech_handle::speed

Definition at line 496 of file switch_module_interfaces.h.

◆ voice

char switch_speech_handle::voice[80]

Definition at line 500 of file switch_module_interfaces.h.


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