# NNS_SndArcGetFileOffset

## C Specification

      #include <nnsys/snd.h>

      u32 NNS_SndArcGetFileOffset( u32 fileId );

## Arguments

`fileId` | The file ID

## Return Values

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

## Description

This function obtains the file offset of the file in the sound archive. The file offset is a value that indicates the position where the specific file in the sound archived is stored from the beginning of the sound archive.

The file ID `fileId` can be obtained from the sound data information structure obtained with the `NNS_SndArcGetSeqInfo` function.

## See Also

NNS_SndArcGetSeqInfo

## Revision History

08/10/2004 Initial version.