nw::snd::SoundDataManager::SetFileAddress Member Function

Syntax

#include <nw/snd/snd_SoundDataManager.h>

const void * SetFileAddress(
     SoundArchive::FileId fileId,
     const void * address
);

Arguments

Name Description
in fileId File ID of the data to set.
in address Flag indicating whether to check the associated data.

Return Values

Returns the address already registered.

Description

Registers data loaded independently in the file management table.

If another address has already been registered, it is overwritten.

The file ID passed as an argument can be converted from an item ID using the SoundArchive::GetItemFileId function.

Sound playback using the corresponding data is possible by registering in the file file management table. For details, see the demos/snd/externalFile demo and corresponding documentation for the demo.

See Also

SoundArchive::GetItemFileId

Revision History

2010/12/28
Revised the description of the fileID argument.
2010/12/17
Added mention of the relationship with the SoundArchive::GetItemFileId function.
2010/11/12
Initial version.

CONFIDENTIAL