speex_decode

Function speex_decode 

Source
pub unsafe extern "C" fn speex_decode(
    state: *mut c_void,
    bits: *mut SpeexBits,
    out: *mut f32,
) -> c_int
Expand description

Uses an existing decoder state to decode one frame of speech from bit-stream bits. The output speech is saved written to out.

@param state Decoder state @param bits Bit-stream from which to decode the frame (NULL if the packet was lost) @param out Where to write the decoded frame @return return status (0 for no error, -1 for end of stream, -2 corrupt stream)