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

Method new

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

Construct a new [`AudioNodeInfo`] builder struct.

()

Source from the content-addressed store, hash-verified

96impl AudioNodeInfo {
97 /// Construct a new [`AudioNodeInfo`] builder struct.
98 pub const fn new() -> Self {
99 Self {
100 debug_name: "unnamed",
101 channel_config: ChannelConfig {
102 num_inputs: ChannelCount::ZERO,
103 num_outputs: ChannelCount::ZERO,
104 },
105 call_update_method: false,
106 custom_state: None,
107 latency_frames: 0,
108 in_place_buffers: false,
109 }
110 }
111
112 /// A unique name for this type of node, used for debugging purposes.
113 pub const fn debug_name(mut self, debug_name: &'static str) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected