#include <nw/snd/snd_SoundArchive.h>
const char * GetItemLabel(
ItemId id
) const;
| Name | Description | |
|---|---|---|
| in | id | Item ID in the sound archive. |
Gets the label string that corresponds to an item ID.
NULL is returned if the specified item ID does not exist.
Regardless of MemorySoundArchive and RomSoundArchive, a string table must be included in the sound archive file to use string information.
To include string information in a sound archive file, from the SoundMaker Projects menu select Project Settings, and then on the Sound Archive tab, select the "Ouput the string table" checkbox.
When using RomSoundArchive, label string data must be already loaded using RomSoundArchive::LoadLabelStringData. NULL is returned if string data is not loaded.
NULL is returned if MemorySoundArchive does not include a string table.
CONFIDENTIAL