Share via


AudioDeviceOutputNode.ConsumeInput Property

Definition

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

public:
 property bool ConsumeInput { bool get(); void set(bool value); };
bool ConsumeInput();

void ConsumeInput(bool value);
public bool ConsumeInput { get; set; }
var boolean = audioDeviceOutputNode.consumeInput;
audioDeviceOutputNode.consumeInput = boolean;
Public Property ConsumeInput As Boolean

Property Value

Boolean

bool

True if the audio device output node consumes input, and false otherwise.

Implements

Remarks

You can stop all audio processing of a node by calling Stop. Set ConsumeInput to false to mute the input of the node instead. This can be useful in scenarios such as when the node has an effect with a decay applied, such as delay or reverb. Setting ConsumeInput to false will stop the node from consuming audio data while allowing effects to continue processing.

Applies to