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