AudioFrameInputNode.ConsumeInput Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating if the audio frame input 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 = audioFrameInputNode.consumeInput;
audioFrameInputNode.consumeInput = boolean;
Public Property ConsumeInput As Boolean
Property Value
bool
True if the audio frame input 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.