Type Alias switch_speech_handle_t

Source
pub type switch_speech_handle_t = switch_speech_handle;
Expand description

an abstract representation of a tts speech interface.

Aliased Type§

#[repr(C)]
pub struct switch_speech_handle_t {
Show 19 fields pub speech_interface: *mut switch_speech_interface, pub flags: u32, pub name: *mut i8, pub rate: u32, pub speed: u32, pub samples: u32, pub channels: u32, pub real_channels: u32, pub voice: [i8; 80], pub engine: *mut i8, pub param: *mut i8, pub memory_pool: *mut fspr_pool_t, pub resampler: *mut switch_audio_resampler_t, pub buffer: *mut switch_buffer, pub dbuf: *mut u8, pub dbuflen: usize, pub samplerate: u32, pub native_rate: u32, pub private_info: *mut c_void,
}

Fields§

§speech_interface: *mut switch_speech_interface

the interface of the module that implemented the current speech interface

§flags: u32

flags to control behaviour

§name: *mut i8

The Name

§rate: u32

The Rate

§speed: u32§samples: u32§channels: u32§real_channels: u32§voice: [i8; 80]§engine: *mut i8§param: *mut i8

module specific param

§memory_pool: *mut fspr_pool_t

the handle’s memory pool

§resampler: *mut switch_audio_resampler_t§buffer: *mut switch_buffer§dbuf: *mut u8§dbuflen: usize§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