AudioSubmixNode.ConsumeInput AudioSubmixNode.ConsumeInput AudioSubmixNode.ConsumeInput AudioSubmixNode.ConsumeInput AudioSubmixNode.ConsumeInput Property

Definition

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

public : Platform::Boolean ConsumeInput { get; set; }
bool ConsumeInput();

void ConsumeInput(bool consumeinput);
public bool ConsumeInput { get; set; }
Public ReadWrite Property ConsumeInput As bool
var bool = audioSubmixNode.consumeInput;
audioSubmixNode.consumeInput = bool;

Property Value

bool bool bool

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

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.