MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / is_pre_process

Method is_pre_process

crates/firewheel-core/src/node.rs:134–140  ·  view source on GitHub ↗

Specify that this node is a "pre process" node. Pre-process nodes have zero inputs and outputs, and they are processed before all other nodes in the graph.

(mut self)

Source from the content-addressed store, hash-verified

132 /// inputs and outputs, and they are processed before all other nodes in the
133 /// graph.
134 pub const fn is_pre_process(mut self) -> Self {
135 self.channel_config = ChannelConfig {
136 num_inputs: ChannelCount::ZERO,
137 num_outputs: ChannelCount::ZERO,
138 };
139 self
140 }
141
142 /// Set to `true` if this node wishes to have the Firewheel context call
143 /// [`AudioNode::update`] on every update cycle.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected