Share via


AudioFileOutputNode Class

Definition

Represents a node in an audio graph node that outputs audio data from the graph to an audio file.

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

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by calling AudioGraph.CreateFileOutputNodeAsync and then accessing the CreateFileOutputNodeResult.FileOutputNode property.

Properties

ConsumeInput

Gets or sets a value indicating if the audio file output node consumes input.

EffectDefinitions

Gets the list of effect definitions for the audio file output node. The effects in the list process audio data that flows through the node in the order in which they appear in the list.

EncodingProperties

Gets the encoding properties for the audio file output node.

File

Gets the file associated with the audio file output node.

FileEncodingProfile

Gets the file encoding profile supported by the audio file output node.

OutgoingGain

Gets or sets the outgoing gain for the audio file output node.

Methods

Close()

Closes the audio file output node and disposes of associated resources.

DisableEffectsByDefinition(IAudioEffectDefinition)

Disables all effects in the EffectDefinitions list with the specified effect definition.

Dispose()

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

EnableEffectsByDefinition(IAudioEffectDefinition)

Enables all effects in the EffectDefinitions list with the specified effect definition.

FinalizeAsync()

Finalizes the asynchronous operation of the audio file output node.

Reset()

Resets the audio file output node.

Start()

Starts the audio file output node.

Stop()

Stops the audio file output node.

Applies to

See also