Stops looping the voice when it reaches the end of the current loop region.
public:
HRESULT ExitLoop(
UINT32 OperationSet
)
OperationSet
Type: UINT32
Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.
Type: HRESULT
Returns S_OK if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.
If the cursor for the voice is not in a loop region, ExitLoop does nothing.
Header: Declared in xaudio2.h.
Library: Use xaudio2.lib.