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

Method add_dyn_node

crates/firewheel-graph/src/context.rs:945–950  ·  view source on GitHub ↗

Add a node to the audio graph which implements the type-erased [`DynAudioNode`] trait.

(
        &mut self,
        node: T,
    )

Source from the content-addressed store, hash-verified

943 &mut self,
944 node: T,
945 config: Option<T::Configuration>,
946 ) -> Result<NodeID, NodeError> {
947 self.graph.add_node(node, config)
948 }
949
950 /// Add a node to the audio graph which implements the type-erased [`DynAudioNode`] trait.
951 pub fn add_dyn_node<T: DynAudioNode + 'static>(
952 &mut self,
953 node: T,

Callers 1

add_dyn_node_bypassedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected