Atomically applies a set of operations that are tagged with a given identifier.
public:
HRESULT CommitChanges(
UINT32 OperationSet
)
OperationSet
Type: UINT32
Identifier of the set of operations to be applied. To commit all pending operations, pass XAUDIO2_COMMIT_ALL.
Type: HRESULT
Returns S_OK if successful; returns an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.
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.
Header: Declared in xaudio2.h.
Library: Use xaudio2.lib.