AudioDeviceInputNode AudioDeviceInputNode AudioDeviceInputNode AudioDeviceInputNode AudioDeviceInputNode Class

Definition

Represents a node in an audio graph node that inputs audio data into the graph from an audio device such as a microphone or external audio interface.

public : sealed class AudioDeviceInputNode : IClosable, IAudioInputNode, IAudioInputNode2, IAudioNode
struct winrt::Windows::Media::Audio::AudioDeviceInputNode : IClosable, IAudioInputNode, IAudioInputNode2, IAudioNode
public sealed class AudioDeviceInputNode : IDisposable, IAudioInputNode, IAudioInputNode2, IAudioNode
Public NotInheritable Class AudioDeviceInputNode Implements IDisposable, IAudioInputNode, IAudioInputNode2, IAudioNode
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Get an instance of this class by calling AudioGraph.CreateDeviceInputNodeAsync and then accessing the CreateAudioDeviceInputNodeResult.DeviceInputNode property.

Version history

Windows version SDK version Value added
1607 14393 Emitter

Properties

ConsumeInput ConsumeInput ConsumeInput ConsumeInput ConsumeInput

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

Device Device Device Device Device

Gets information about the audio device.

EffectDefinitions EffectDefinitions EffectDefinitions EffectDefinitions EffectDefinitions

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

Emitter Emitter Emitter Emitter Emitter

Gets the AudioNodeEmitter that describes the position and other physical characteristics of the emitter from which the AudioDeviceInputNode audio is emitted when spatial audio processing is used.

EncodingProperties EncodingProperties EncodingProperties EncodingProperties EncodingProperties

Gets the encoding properties for the audio device input node.

OutgoingConnections OutgoingConnections OutgoingConnections OutgoingConnections OutgoingConnections

Gets the list of outgoing connections from the audio device input node to other nodes in the audio graph.

OutgoingGain OutgoingGain OutgoingGain OutgoingGain OutgoingGain

Gets or sets the outgoing gain for the audio device input node.

Methods

AddOutgoingConnection(IAudioNode) AddOutgoingConnection(IAudioNode) AddOutgoingConnection(IAudioNode) AddOutgoingConnection(IAudioNode) AddOutgoingConnection(IAudioNode)

Adds an outgoing connection to the audio device input node.

AddOutgoingConnection(IAudioNode, Double) AddOutgoingConnection(IAudioNode, Double) AddOutgoingConnection(IAudioNode, Double) AddOutgoingConnection(IAudioNode, Double) AddOutgoingConnection(IAudioNode, Double)

Adds an outgoing connection with gain to the audio device input node.

Close() Close() Close() Close() Close()

Closes the audio device input node and disposes of associated resources.

DisableEffectsByDefinition(IAudioEffectDefinition) DisableEffectsByDefinition(IAudioEffectDefinition) DisableEffectsByDefinition(IAudioEffectDefinition) DisableEffectsByDefinition(IAudioEffectDefinition) DisableEffectsByDefinition(IAudioEffectDefinition)

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

Dispose() Dispose() Dispose() Dispose() Dispose()

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

EnableEffectsByDefinition(IAudioEffectDefinition) EnableEffectsByDefinition(IAudioEffectDefinition) EnableEffectsByDefinition(IAudioEffectDefinition) EnableEffectsByDefinition(IAudioEffectDefinition) EnableEffectsByDefinition(IAudioEffectDefinition)

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

RemoveOutgoingConnection(IAudioNode) RemoveOutgoingConnection(IAudioNode) RemoveOutgoingConnection(IAudioNode) RemoveOutgoingConnection(IAudioNode) RemoveOutgoingConnection(IAudioNode)

Removes the outgoing connection from the audio device input node to the specified node.

Reset() Reset() Reset() Reset() Reset()

Resets the audio device input node.

Start() Start() Start() Start() Start()

Starts the audio device input node.

Stop() Stop() Stop() Stop() Stop()

Stops the audio device input node.

See also