nw::snd::SoundHandle::SetId Member Function

Syntax

#include <nw/snd/snd_SoundHandle.h>

void SetId(
     u32 id
);

Arguments

Name Description
in id Sound ID.

Return Values

None.

Description

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.

See Also

SoundArchivePlayer, GetId

Revision History

2010/01/15
Initial version.

CONFIDENTIAL