Add a node to the audio graph.
(
&mut self,
node: T,
config: Option<T::Configuration>,
)
| 934 | } |
| 935 | |
| 936 | /// The ID of the graph output node |
| 937 | pub fn graph_out_node_id(&self) -> NodeID { |
| 938 | self.graph.graph_out_node() |
| 939 | } |
| 940 | |
| 941 | /// Add a node to the audio graph. |
| 942 | pub fn add_node<T: AudioNode + 'static>( |
| 943 | &mut self, |
| 944 | node: T, |
| 945 | config: Option<T::Configuration>, |