IXACTSoundBank::Stop
IXACTSoundBank::Stop
Stops a cue.
[Content-driven]
HRESULT Stop( XACTINDEX nCueIndex, DWORD dwFlags );
Parameters
- nCueIndex
[in] Index of the cue to be stopped. - dwFlags
[in] Flags affecting how the cue will be stopped. By default, the sound completes the release phase that the content has set up.
Return Values
Returns S_OK if successful. Otherwise, an error code.
Requirements
Header: Declared in Xact.h.
Library: Use Xact.lib.