Skip to main content

OH_AudioDecoder_FreeOutputData

Function OH_AudioDecoder_FreeOutputData 

Source
pub unsafe extern "C" fn OH_AudioDecoder_FreeOutputData(
    codec: *mut OH_AVCodec,
    index: u32,
) -> OH_AVErrCode
👎Deprecated since 11
Expand description

Return the processed output Buffer to the decoder.

Required System Capabilities: SystemCapability.Multimedia.Media.AudioDecoder

§Arguments

  • codec - Pointer to an OH_AVCodec instance

  • index - The index value corresponding to the output Buffer

§Returns

  • Returns AV_ERR_OK if the execution is successful, otherwise returns a specific error code, refer to OH_AVErrCode

Deprecated since 11 OH_AudioCodec_FreeOutputBuffer

Available since API-level: 9