Type Alias switch_codec_interface_t

Source
pub type switch_codec_interface_t = switch_codec_interface;
Expand description

\brief Top level module interface to implement a series of codec implementations

Aliased Type§

#[repr(C)]
pub struct switch_codec_interface_t { pub interface_name: *const i8, pub implementations: *mut switch_codec_implementation, pub parse_fmtp: Option<unsafe extern "C" fn(*const i8, *mut switch_codec_fmtp) -> switch_status_t>, pub codec_id: u32, pub rwlock: *mut fspr_thread_rwlock_t, pub refs: i32, pub reflock: *mut fspr_thread_mutex_t, pub modname: *mut i8, pub parent: *mut switch_loadable_module_interface, pub next: *mut switch_codec_interface, }

Fields§

§interface_name: *const i8

the name of the interface

§implementations: *mut switch_codec_implementation

a list of codec implementations related to the codec

§parse_fmtp: Option<unsafe extern "C" fn(*const i8, *mut switch_codec_fmtp) -> switch_status_t>

function to decode a codec fmtp parameters

§codec_id: u32§rwlock: *mut fspr_thread_rwlock_t§refs: i32§reflock: *mut fspr_thread_mutex_t§modname: *mut i8§parent: *mut switch_loadable_module_interface§next: *mut switch_codec_interface