RTS API Documentation  1.10.11
Data Fields
switch_asr_handle Struct Reference

#include <switch_module_interfaces.h>

+ Collaboration diagram for switch_asr_handle:

Data Fields

switch_asr_interface_tasr_interface
 
uint32_t flags
 
char * name
 
char * codec
 
uint32_t rate
 
char * grammar
 
char * param
 
switch_memory_pool_tmemory_pool
 
switch_buffer_tbuffer
 
switch_byte_tdbuf
 
switch_size_t dbuflen
 
switch_audio_resampler_tresampler
 
uint32_t samplerate
 
uint32_t native_rate
 
void * private_info
 

Detailed Description

an abstract representation of an asr speech interface.

Definition at line 434 of file switch_module_interfaces.h.

Field Documentation

◆ asr_interface

switch_asr_interface_t* switch_asr_handle::asr_interface

◆ buffer

switch_buffer_t* switch_asr_handle::buffer

Definition at line 450 of file switch_module_interfaces.h.

◆ codec

char* switch_asr_handle::codec

The Codec

Definition at line 442 of file switch_module_interfaces.h.

◆ dbuf

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

◆ dbuflen

switch_size_t switch_asr_handle::dbuflen

Definition at line 452 of file switch_module_interfaces.h.

Referenced by switch_core_asr_feed().

◆ flags

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

◆ grammar

char* switch_asr_handle::grammar

Definition at line 445 of file switch_module_interfaces.h.

◆ memory_pool

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

◆ name

char* switch_asr_handle::name

The Name

Definition at line 440 of file switch_module_interfaces.h.

Referenced by switch_core_asr_open().

◆ native_rate

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

◆ param

char* switch_asr_handle::param

module specific param

Definition at line 447 of file switch_module_interfaces.h.

Referenced by switch_core_asr_open().

◆ private_info

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.

◆ rate

uint32_t switch_asr_handle::rate

The Rate

Definition at line 444 of file switch_module_interfaces.h.

Referenced by switch_core_asr_open().

◆ resampler

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

◆ samplerate

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


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