pub unsafe extern "C" fn g726_encode(
s: *mut g726_state_t,
g726_data: *mut u8,
amp: *const i16,
len: c_int,
) -> c_intExpand description
Encode a buffer of linear PCM data to G.726 ADPCM. \param s The G.726 context. \param g726_data The G.726 data produced. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of bytes of G.726 data produced.