IXAudio2SourceVoice::ExitLoop method

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

Syntax


HRESULT ExitLoop(
  [in]  UINT32 OperationSet = XAUDIO2_COMMIT_NOW
);

Parameters

OperationSet [in]

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

Return value

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.

Platform Requirements

Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Header

Xaudio2.h

See also

IXAudio2SourceVoice

 

 

Community Additions

ADD
Show:
© 2015 Microsoft