opus_dred_process

Function opus_dred_process 

Source
pub unsafe extern "C" fn opus_dred_process(
    dred_dec: *mut OpusDREDDecoder,
    src: *const OpusDRED,
    dst: *mut OpusDRED,
) -> c_int
Expand description

Finish decoding an Opus DRED packet. The function only needs to be called if opus_dred_parse() was called with defer_processing=1. The source and destination will often be the same DRED state. @param [in] dred_dec OpusDRED*: DRED Decoder state @param [in] src OpusDRED*: Source DRED state to start the processing from. @param [out] dst OpusDRED*: Destination DRED state to store the updated state after processing. @returns @ref opus_errorcodes