IXAudio2SourceVoice::ExitLoop method (xaudio2.h)

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

Syntax

HRESULT ExitLoop(
       UINT32 OperationSet
);

Parameters

OperationSet

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 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Requirement Value
Target Platform Windows
Header xaudio2.h

See also

IXAudio2SourceVoice