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

Method title

examples/visual_node_graph/src/ui.rs:96–119  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

94
95impl GuiAudioNode {
96 fn title(&self) -> String {
97 match self.node {
98 GuiAudioNodeType::SystemIn => "System In",
99 GuiAudioNodeType::SystemOut => "System Out",
100 GuiAudioNodeType::BeepTest { .. } => "Beep Test",
101 GuiAudioNodeType::WhiteNoiseGen { .. } => "White Noise Generator",
102 GuiAudioNodeType::PinkNoiseGen { .. } => "Pink Noise Generator",
103 GuiAudioNodeType::StereoToMono => "Stereo To Mono",
104 GuiAudioNodeType::VolumeMono { .. } => "Volume (Mono)",
105 GuiAudioNodeType::VolumeStereo { .. } => "Volume (Stereo)",
106 GuiAudioNodeType::VolumePan { .. } => "Volume & Pan",
107 GuiAudioNodeType::FastLowpass { .. } => "Fast Lowpass",
108 GuiAudioNodeType::FastHighpass { .. } => "Fast Highpass",
109 GuiAudioNodeType::FastBandpass { .. } => "Fast Bandpass",
110 GuiAudioNodeType::Svf { .. } => "SVF",
111 GuiAudioNodeType::MixMono { .. } => "Mix (Mono)",
112 GuiAudioNodeType::MixStereo { .. } => "Mix (Stereo)",
113 GuiAudioNodeType::Sampler { .. } => "Sampler",
114 GuiAudioNodeType::Freeverb { .. } => "Freeverb",
115 GuiAudioNodeType::ConvolutionMono { .. } => "Convolution (Mono)",
116 GuiAudioNodeType::ConvolutionStereo { .. } => "Convolution (Stereo)",
117 }
118 .into()
119 }
120
121 fn num_inputs(&self) -> usize {
122 match self.node {

Callers 1

show_headerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected