Skip to main content

switch_core_codec_init_with_bitrate

Function switch_core_codec_init_with_bitrate 

Source
pub unsafe extern "C" fn switch_core_codec_init_with_bitrate(
    codec: *mut switch_codec_t,
    codec_name: *const c_char,
    fmtp: *const c_char,
    modname: *const c_char,
    rate: u32,
    ms: c_int,
    channels: c_int,
    bitrate: u32,
    flags: u32,
    codec_settings: *const switch_codec_settings_t,
    pool: *mut switch_memory_pool_t,
) -> switch_status_t