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

Class AudioGraph

crates/firewheel-graph/src/graph.rs:44–62  ·  view source on GitHub ↗

The audio graph interface.

Source from the content-addressed store, hash-verified

42
43/// The audio graph interface.
44pub(crate) struct AudioGraph {
45 nodes: Arena<NodeEntry>,
46 edges: Arena<Edge>,
47 existing_edges: HashMap<EdgeHash, EdgeID>,
48
49 graph_in_id: NodeID,
50 graph_out_id: NodeID,
51 graph_channel_config: ChannelConfig,
52 needs_compile: bool,
53
54 nodes_to_remove_from_schedule: Vec<NodeID>,
55 active_nodes_to_remove: HashMap<NodeID, NodeEntry>,
56 nodes_to_call_update_method: Vec<NodeID>,
57
58 prev_node_arena_capacity: usize,
59 prev_buffer_capacity: usize,
60
61 modify_guard_stack: Vec<ModifyGraphGuard>,
62}
63
64impl AudioGraph {
65 pub fn new(config: &FirewheelConfig) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected