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.

§Arguments

  • dred_dec [in] - OpusDRED*: DRED Decoder state
  • src [in] - OpusDRED*: Source DRED state to start the processing from.
  • dst [out] - OpusDRED*: Destination DRED state to store the updated state after processing.

§Returns

[opus_errorcodes]