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

Method add_graph_in_out_nodes

examples/visual_node_graph/src/ui.rs:859–877  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

857 }
858
859 fn add_graph_in_out_nodes(&mut self) {
860 self.snarl.insert_node(
861 egui::Pos2 { x: -300.0, y: 0.0 },
862 GuiAudioNode {
863 node: GuiAudioNodeType::SystemIn,
864 id: self.audio_system.graph_in_node_id(),
865 bypassed: false,
866 },
867 );
868
869 self.snarl.insert_node(
870 egui::Pos2 { x: 300.0, y: 0.0 },
871 GuiAudioNode {
872 node: GuiAudioNodeType::SystemOut,
873 id: self.audio_system.graph_out_node_id(),
874 bypassed: false,
875 },
876 );
877 }
878}
879
880impl App for DemoApp {

Callers 1

newMethod · 0.80

Calls 2

graph_in_node_idMethod · 0.45
graph_out_node_idMethod · 0.45

Tested by

no test coverage detected