getBytesForPcmBuffer

Syntax

#include "dsptool.h"

u32 getBytesForPcmBuffer(u32 samples);

Parameters

samples Number of samples to be decoded.

Return Values

Predicted length (in bytes) of a DSP-ADPCM sample to be decoded.

Description

getBytesForPcmBuffer calculates and returns the number of bytes needed to store a given sample after it has been decoded from DSP-ADPCM format.

Do Not Call From

Wii U (Host PC only) Do not call this function on the Wii U console. It is available only on the host PC.

Revision History

2013/05/08 Automated cleanup pass.
2011/02/21 Initial version.


CONFIDENTIAL