HEAACDECBegin

Syntax

#include <cafe/aacdec.h>

s32 HEAACDECBegin( void *memPtr,
                   u8 *inputBitstream,
                   u16 inputBitstreamLength);

Parameters

memPtr Working memory address (Input).
inputBitstream Bitstream memory starting address (Input).
inputBitstreamLength Number of bytes in 1 frame from the bitstream (Input).

Return Values

A return value of HEAACDEC_RET_OK indicates success and any other return value indicates failure. For more information, see Error Codes.

Description

Provides a notification that decoding has started. Specify the first frame of data as the data for decoding.

For information about restrictions on the working memory and audio data memory, see Memory.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.

See Also

HEAACDECOpen
HEAACDECExecute
HEAACDECEnd
HEAACDECClose
HEAACDECRestart
HEAACDECMemoryRequirement

Revision History

2014/07/14 Initial version.


CONFIDENTIAL