RTS API Documentation
1.10.11
|
#include <switch_module_interfaces.h>
Data Fields | |
switch_asr_interface_t * | asr_interface |
uint32_t | flags |
char * | name |
char * | codec |
uint32_t | rate |
char * | grammar |
char * | param |
switch_memory_pool_t * | memory_pool |
switch_buffer_t * | buffer |
switch_byte_t * | dbuf |
switch_size_t | dbuflen |
switch_audio_resampler_t * | resampler |
uint32_t | samplerate |
uint32_t | native_rate |
void * | private_info |
an abstract representation of an asr speech interface.
Definition at line 434 of file switch_module_interfaces.h.
switch_asr_interface_t* switch_asr_handle::asr_interface |
the interface of the module that implemented the current speech interface
Definition at line 436 of file switch_module_interfaces.h.
Referenced by switch_core_asr_check_results(), switch_core_asr_close(), switch_core_asr_disable_all_grammars(), switch_core_asr_disable_grammar(), switch_core_asr_enable_grammar(), switch_core_asr_feed(), switch_core_asr_feed_dtmf(), switch_core_asr_float_param(), switch_core_asr_get_result_headers(), switch_core_asr_get_results(), switch_core_asr_load_grammar(), switch_core_asr_numeric_param(), switch_core_asr_open(), switch_core_asr_pause(), switch_core_asr_resume(), switch_core_asr_start_input_timers(), switch_core_asr_text_param(), and switch_core_asr_unload_grammar().
switch_buffer_t* switch_asr_handle::buffer |
Definition at line 450 of file switch_module_interfaces.h.
char* switch_asr_handle::codec |
The Codec
Definition at line 442 of file switch_module_interfaces.h.
switch_byte_t* switch_asr_handle::dbuf |
Definition at line 451 of file switch_module_interfaces.h.
Referenced by switch_core_asr_close(), and switch_core_asr_feed().
switch_size_t switch_asr_handle::dbuflen |
Definition at line 452 of file switch_module_interfaces.h.
Referenced by switch_core_asr_feed().
uint32_t switch_asr_handle::flags |
flags to control behaviour
Definition at line 438 of file switch_module_interfaces.h.
Referenced by switch_core_asr_open().
char* switch_asr_handle::grammar |
Definition at line 445 of file switch_module_interfaces.h.
switch_memory_pool_t* switch_asr_handle::memory_pool |
the handle's memory pool
Definition at line 449 of file switch_module_interfaces.h.
Referenced by switch_core_asr_close(), and switch_core_asr_open().
char* switch_asr_handle::name |
The Name
Definition at line 440 of file switch_module_interfaces.h.
Referenced by switch_core_asr_open().
uint32_t switch_asr_handle::native_rate |
the current native samplerate
Definition at line 457 of file switch_module_interfaces.h.
Referenced by switch_core_asr_feed(), and switch_core_asr_open().
char* switch_asr_handle::param |
module specific param
Definition at line 447 of file switch_module_interfaces.h.
Referenced by switch_core_asr_open().
void* switch_asr_handle::private_info |
private data for the format module to store handle specific info
Definition at line 459 of file switch_module_interfaces.h.
uint32_t switch_asr_handle::rate |
The Rate
Definition at line 444 of file switch_module_interfaces.h.
Referenced by switch_core_asr_open().
switch_audio_resampler_t* switch_asr_handle::resampler |
Definition at line 453 of file switch_module_interfaces.h.
Referenced by switch_core_asr_close(), and switch_core_asr_feed().
uint32_t switch_asr_handle::samplerate |
the current samplerate
Definition at line 455 of file switch_module_interfaces.h.
Referenced by switch_core_asr_feed(), and switch_core_asr_open().