nw::snd::SoundHandle::SetId Member Function#include <nw/snd/snd_SoundHandle.h>
void SetId(
u32 id
);
| Name | Description | |
|---|---|---|
| in | id | Sound ID. |
Sets the ID of a sound.
Sets the ID of the sound associated with the handle. If the handle is invalid, the function does nothing.
When a sound is played using SoundArchivePlayer, the sound ID is set automatically when playback starts. When this function is called, the ID is changed and overwritten.
To get the ID that is set, call GetId.
CONFIDENTIAL