pub type switch_asr_handle_t = switch_asr_handle;Expand description
an abstract representation of an asr speech interface.
Aliased Type§
#[repr(C)]pub struct switch_asr_handle_t {Show 15 fields
pub asr_interface: *mut switch_asr_interface,
pub flags: u32,
pub name: *mut i8,
pub codec: *mut i8,
pub rate: u32,
pub grammar: *mut i8,
pub param: *mut i8,
pub memory_pool: *mut fspr_pool_t,
pub buffer: *mut switch_buffer,
pub dbuf: *mut u8,
pub dbuflen: usize,
pub resampler: *mut switch_audio_resampler_t,
pub samplerate: u32,
pub native_rate: u32,
pub private_info: *mut c_void,
}Fields§
§asr_interface: *mut switch_asr_interfacethe interface of the module that implemented the current speech interface
flags: u32flags to control behaviour
name: *mut i8The Name
codec: *mut i8The Codec
rate: u32The Rate
grammar: *mut i8§param: *mut i8module specific param
memory_pool: *mut fspr_pool_tthe handle’s memory pool
buffer: *mut switch_buffer§dbuf: *mut u8§dbuflen: usize§resampler: *mut switch_audio_resampler_t§samplerate: u32the current samplerate
native_rate: u32the current native samplerate
private_info: *mut c_voidprivate data for the format module to store handle specific info