nn::snd::CTR::Bcwav::FrameToByte Member Function

Syntax

static u32 FrameToByte(
     u8 encoding,
     u32 frame
);

Arguments

Name Description
in encoding Compression format in the BCWAV file (WaveInfo::encoding).
in frame Number of samples.

Return Values

Number of bytes.

Description

Calculates the number of bytes required to store the specified number of samples in the specified format.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL