NNS_SndArcGetFileOffset

Syntax

#include <nnsys/snd.h>
u32 NNS_SndArcGetFileOffset( u32 fileId );

Arguments

fileId File ID.

Return Values

Returns the file offset. Returns 0 if the file ID is invalid.

Description

Gets the file offset of the file in the sound archive. The file offset is a value that indicates the position where a specific file in the sound archive is stored, counting from the beginning of the sound archive.

The file ID fileId can be obtained from the sound data information structure gotten with NNS_SndArcGetSeqInfo or similar functions.

See Also

NNS_SndArcGetSeqInfo

Revision History

2004/08/10 Initial version.


CONFIDENTIAL