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

Class AudioSystem

examples/custom_nodes/src/system.rs:9–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7};
8
9pub struct AudioSystem {
10 pub cx: FirewheelContext,
11 pub stream: CpalStream,
12
13 pub noise_gen_node: Memo<NoiseGenNode>,
14 pub filter_node: Memo<FilterNode>,
15 pub rms_node: Memo<FastRmsNode>,
16 pub rms_node_state: FastRmsState,
17
18 pub noise_gen_node_id: NodeID,
19 pub filter_node_id: NodeID,
20 pub rms_node_id: NodeID,
21
22 pub noise_gen_bypassed: bool,
23 pub filter_bypassed: bool,
24 pub rms_bypassed: bool,
25}
26
27impl AudioSystem {
28 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected