Dela via


AudioGraph.CreateFrameInputNode Method

Definition

Overloads

CreateFrameInputNode()

Creates an AudioFrameInputNode that inputs audio data generated by app-implemented code into the audio graph.

CreateFrameInputNode(AudioEncodingProperties)

Creates an AudioFrameInputNode, with the specified encoding properties, that inputs audio data generated by app-implemented code into the audio graph.

CreateFrameInputNode(AudioEncodingProperties, AudioNodeEmitter)

Creates a spatial audio-enabled AudioFrameInputNode, with the specified encoding properties, that inputs audio data generated by app-implemented code into the audio graph.

CreateFrameInputNode()

Creates an AudioFrameInputNode that inputs audio data generated by app-implemented code into the audio graph.

public:
 virtual AudioFrameInputNode ^ CreateFrameInputNode() = CreateFrameInputNode;
/// [Windows.Foundation.Metadata.Overload("CreateFrameInputNode")]
AudioFrameInputNode CreateFrameInputNode();
[Windows.Foundation.Metadata.Overload("CreateFrameInputNode")]
public AudioFrameInputNode CreateFrameInputNode();
function createFrameInputNode()
Public Function CreateFrameInputNode () As AudioFrameInputNode

Returns

An audio frame input node.

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

See also

Applies to

CreateFrameInputNode(AudioEncodingProperties)

Creates an AudioFrameInputNode, with the specified encoding properties, that inputs audio data generated by app-implemented code into the audio graph.

public:
 virtual AudioFrameInputNode ^ CreateFrameInputNode(AudioEncodingProperties ^ encodingProperties) = CreateFrameInputNode;
/// [Windows.Foundation.Metadata.Overload("CreateFrameInputNodeWithFormat")]
AudioFrameInputNode CreateFrameInputNode(AudioEncodingProperties const& encodingProperties);
[Windows.Foundation.Metadata.Overload("CreateFrameInputNodeWithFormat")]
public AudioFrameInputNode CreateFrameInputNode(AudioEncodingProperties encodingProperties);
function createFrameInputNode(encodingProperties)
Public Function CreateFrameInputNode (encodingProperties As AudioEncodingProperties) As AudioFrameInputNode

Parameters

encodingProperties
AudioEncodingProperties

An object representing the audio encoding properties for the frame input node which specifies the sample rate at which the created node will operate. Only uncompressed PCM and float formats are allowed.

Returns

An audio frame input node.

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

See also

Applies to

CreateFrameInputNode(AudioEncodingProperties, AudioNodeEmitter)

Creates a spatial audio-enabled AudioFrameInputNode, with the specified encoding properties, that inputs audio data generated by app-implemented code into the audio graph.

public:
 virtual AudioFrameInputNode ^ CreateFrameInputNode(AudioEncodingProperties ^ encodingProperties, AudioNodeEmitter ^ emitter) = CreateFrameInputNode;
/// [Windows.Foundation.Metadata.Overload("CreateFrameInputNodeWithFormatAndEmitter")]
AudioFrameInputNode CreateFrameInputNode(AudioEncodingProperties const& encodingProperties, AudioNodeEmitter const& emitter);
[Windows.Foundation.Metadata.Overload("CreateFrameInputNodeWithFormatAndEmitter")]
public AudioFrameInputNode CreateFrameInputNode(AudioEncodingProperties encodingProperties, AudioNodeEmitter emitter);
function createFrameInputNode(encodingProperties, emitter)
Public Function CreateFrameInputNode (encodingProperties As AudioEncodingProperties, emitter As AudioNodeEmitter) As AudioFrameInputNode

Parameters

encodingProperties
AudioEncodingProperties

An object representing the audio encoding properties for the frame input node which specifies the sample rate at which the created node will operate. Only uncompressed PCM and float formats are allowed.

emitter
AudioNodeEmitter

An object that describes the position and other physical characteristics of the emitter from which the node's audio is emitted when spatial audio processing is used.

Returns

An audio frame input node.

Attributes

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

See also

Applies to