IXAudio2SourceVoice::ExitLoop Method

Stops looping the voice when it reaches the end of the current loop region.

Syntax

public:
HRESULT ExitLoop(
         UINT32 OperationSet
)  

Parameters

OperationSet
Type: UINT32 

Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.

Return value

Type: HRESULT 

Returns S_OK if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.

Remarks

If the cursor for the voice is not in a loop region, ExitLoop does nothing.

Requirements

Header: Declared in xaudio2.h.

Library: Use xaudio2.lib.

See also

IXAudio2SourceVoice

IXAudio2SourceVoice Members