Dela via


MediaSourceAudioInputNode.AddOutgoingConnection Method

Definition

Overloads

AddOutgoingConnection(IAudioNode)

Adds an outgoing connection with gain to the MediaSource input node.

AddOutgoingConnection(IAudioNode, Double)

Adds an outgoing connection with gain to the MediaSource input node.

AddOutgoingConnection(IAudioNode)

Adds an outgoing connection with gain to the MediaSource input node.

public:
 virtual void AddOutgoingConnection(IAudioNode ^ destination) = AddOutgoingConnection;
/// [Windows.Foundation.Metadata.Overload("AddOutgoingConnection")]
void AddOutgoingConnection(IAudioNode const& destination);
[Windows.Foundation.Metadata.Overload("AddOutgoingConnection")]
public void AddOutgoingConnection(IAudioNode destination);
function addOutgoingConnection(destination)
Public Sub AddOutgoingConnection (destination As IAudioNode)

Parameters

destination
IAudioNode

The destination node for the connection.

Implements

Attributes

Remarks

The other overload of this method allows you to specify a gain value that is applied to the audio values passing through the new connection.

Applies to

AddOutgoingConnection(IAudioNode, Double)

Adds an outgoing connection with gain to the MediaSource input node.

public:
 virtual void AddOutgoingConnection(IAudioNode ^ destination, double gain) = AddOutgoingConnection;
/// [Windows.Foundation.Metadata.Overload("AddOutgoingConnectionWithGain")]
void AddOutgoingConnection(IAudioNode const& destination, double const& gain);
[Windows.Foundation.Metadata.Overload("AddOutgoingConnectionWithGain")]
public void AddOutgoingConnection(IAudioNode destination, double gain);
function addOutgoingConnection(destination, gain)
Public Sub AddOutgoingConnection (destination As IAudioNode, gain As Double)

Parameters

destination
IAudioNode

The destination node for the connection.

gain
Double

double

A value indicating the gain associated with the connection. This is a scalar multiplier of the audio signal. The default value is 1.0.

Implements

M:Windows.Media.Audio.IAudioInputNode.AddOutgoingConnection(Windows.Media.Audio.IAudioNode,System.Double) M:Windows.Media.Audio.IAudioInputNode.AddOutgoingConnection(Windows.Media.Audio.IAudioNode,double)
Attributes

Applies to