AXGetAdpcmOutputSize

Syntax

#include <revolution/ax.h>

s32 AXGetAdpcmOutputSize(s32 samples);

Arguments

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

Return Values

Returns the size of DSP-ADPCM data output by the AXGetAdpcmData function.

Description

This function returns the size of DSP-ADPCM data output by the AXGetAdpcmData function.

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

See Also

AXGetAdpcmData

Revision History

2008/02/25 Initial version.


CONFIDENTIAL