Skip to main content

switch_core_codec_encode

Function switch_core_codec_encode 

Source
pub unsafe extern "C" fn switch_core_codec_encode(
    codec: *mut switch_codec_t,
    other_codec: *mut switch_codec_t,
    decoded_data: *mut c_void,
    decoded_data_len: u32,
    decoded_rate: u32,
    encoded_data: *mut c_void,
    encoded_data_len: *mut u32,
    encoded_rate: *mut u32,
    flag: *mut c_uint,
) -> switch_status_t