AXGetAdpcmWorkSize

Syntax

#include <revolution/ax.h>

s32 AXGetAdpcmWorkSize(s32 samples);

Arguments

samples The number of 16-bit PCM data samples to encode in DSP-ADPCM format.

Return Values

Returns the size of the work region used by the AXGetAdpcmData function.

Description

This function returns the size of the working region used by the AXGetAdpcmData function.

Programs must first allocate a region as large as the size obtained from this function and then pass that address to the AXGetAdpcmData function's eighth argument, work.

See Also

AXGetAdpcmData

Revision History

2008/02/25 Initial version.


CONFIDENTIAL