AXGetAdpcmOutputSize

Syntax

#include <cafe/ax.h>

s32 AXGetAdpcmOutputSize(s32 samples);

Parameters

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.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AXGetAdpcmData

Revision History

2013/05/08 Automated cleanup pass.
2008/02/25 Initial version.


CONFIDENTIAL