IXACTWaveBank::Stop
IXACTWaveBank::Stop
Stops the playback for waves that were started by using IXACTWaveBank::Play method.
[Code-driven]
HRESULT Stop( XACTINDEX nWaveIndex, DWORD dwFlags );
Parameters
- nWaveIndex
Index of the wave to stop. - dwFlags
Flags that affect how the wave is stopped:
Return Values
Returns S_OK if successful. Otherwise, an error code.
Remarks
Any instance of a wave entry that is playing as part of a cue instance is not stopped by this method.
Requirements
Header: Declared in Xact.h.
Library: Use Xact.lib.