#include <nw/snd/snd_SoundStartable.h> StartResult HoldSound( SoundHandle * pHandle, SoundArchive::ItemId soundId, const StartInfo * pHoldInfo = NULL ); StartResult HoldSound( SoundHandle * pHandle, const char * pSoundName, const StartInfo * pHoldInfo = NULL );
| HoldSound ( SoundHandle *, SoundArchive::ItemId, const StartInfo * ) | Plays or continues the sound with the specified ID. |
| HoldSound ( SoundHandle *, const char *, const StartInfo * ) | Plays or holds the sound with the specified label string. |
The sound can be played as long as this function is called each frame with the same ID. The sound stops when calling stops.
The first argument specifies the sound handle.
The second argument specifies the ID of the sound to play.
The value of pHoldInfo contains detailed parameters that can be set during playback. You can start playback without setting these parameters.
Midway playback of a sound using pStartInfo is not supported because this is not currently implemented.
The sound can be played as long as this function is called each frame with the same ID. The sound stops when calling stops.
The first argument specifies the sound handle.
The second argument specifies a label string that identifies the sound to play.
The value of pHoldInfo contains detailed parameters that can be set during playback. You can start playback without setting these parameters.
Midway playback of a sound using pStartInfo is not supported because this is not currently implemented.
CONFIDENTIAL