IXAudio2::CommitChanges method

Atomically applies a set of operations that are tagged with a given identifier.

Syntax


HRESULT CommitChanges(
  [in]  UINT32 OperationSet
);

Parameters

OperationSet [in]

Identifier of the set of operations to be applied. To commit all pending operations, pass XAUDIO2_COMMIT_ALL.

Return value

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

Remarks

CommitChanges does nothing if no operations are tagged with the given identifier.

See the XAudio2 Operation Sets overview about working with CommitChanges and XAudio2 interface methods that may be deferred.

Platform Requirements

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

Requirements

Header

Xaudio2.h

See also

IXAudio2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft