مشاركة عبر


AudioGraphBatchUpdater Class

Definition

An object that, upon creation with CreateBatchUpdater, causes all subsequent modifications to all nodes in an AudioGraph to be accumulated and then committed once your app closes or disposes of the batch updater object.

public ref class AudioGraphBatchUpdater sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioGraphBatchUpdater final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioGraphBatchUpdater : System.IDisposable
Public NotInheritable Class AudioGraphBatchUpdater
Implements IDisposable
Inheritance
Object Platform::Object IInspectable AudioGraphBatchUpdater
Attributes
Implements

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
backgroundMediaRecording

Remarks

Get an instance of this class by calling AudioGraph.CreateBatchUpdater.

Methods

Close()

Closes the CreateBatchUpdater, causing all audio graph node modifications accumulated since the object was created to be committed.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to

See also