Type Alias switch_asr_handle_t

Source
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_interface

the interface of the module that implemented the current speech interface

§flags: u32

flags to control behaviour

§name: *mut i8

The Name

§codec: *mut i8

The Codec

§rate: u32

The Rate

§grammar: *mut i8§param: *mut i8

module specific param

§memory_pool: *mut fspr_pool_t

the handle’s memory pool

§buffer: *mut switch_buffer§dbuf: *mut u8§dbuflen: usize§resampler: *mut switch_audio_resampler_t§samplerate: u32

the current samplerate

§native_rate: u32

the current native samplerate

§private_info: *mut c_void

private data for the format module to store handle specific info