Skip to main content

g722_encode_init

Function g722_encode_init 

Source
pub unsafe extern "C" fn g722_encode_init(
    s: *mut g722_encode_state_t,
    rate: c_int,
    options: c_int,
) -> *mut g722_encode_state_t
Expand description

Initialise an G.722 encode context. \param s The G.722 encode context. \param rate The required bit rate for the G.722 data. The valid rates are 64000, 56000 and 48000. \param options \return A pointer to the G.722 encode context, or NULL for error.