# NNS_SndArcGetFileAddress

## Syntax

      #include <nnsys/snd.h>

      void* NNS_SndArcGetFileAddress( u32 fileId );

## Arguments

`fileId` | File ID.

## Return Values

Returns the file address. Returns a `NULL` when the file address is not set, or when the file ID is invalid.

## Description

Gets the address of the file in the sound archive. The purpose of this function is to obtain the file address set with the ``NNS_SndArcSetFileAddress`` function.

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

This function is called by a variety of other functions to determine whether or not the data inside the sound archive is resident in the memory.

## See Also

`NNS_SndArcSetFileAddress, NNS_SndArcGetSeqInfo`

## Revision History

2004/06/01 Initial version.

CONFIDENTIAL