NNS_SndArcGetFileAddress

C Specification

#include <nnsys/snd.h>
void* NNS_SndArcGetFileAddress( u32 fileId );

Arguments

fileId The 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. Set the address of the file with the NNS_SndArcSetFileAddress function.

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

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

06/01/2004 Initial version.