Construct a new [`AudioNodeInfo`] builder struct.
()
| 96 | impl 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected