Skip to main content

g722_encode

Function g722_encode 

Source
pub unsafe extern "C" fn g722_encode(
    s: *mut g722_encode_state_t,
    g722_data: *mut u8,
    amp: *const i16,
    len: c_int,
) -> c_int
Expand description

Encode a buffer of linear PCM data to G.722 \param s The G.722 context. \param g722_data The G.722 data produced. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of bytes of G.722 data produced.