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

Class AudioSystem

examples/visualizer/src/system.rs:15–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13pub const SAMPLE_PATH: &str = "assets/test_files/bird-sound.wav";
14
15pub struct AudioSystem {
16 cx: FirewheelContext,
17 stream: CpalStream,
18
19 sampler_params: Memo<SamplerNode>,
20 sampler_node_id: NodeID,
21
22 pub triple_buffer_params: Memo<TripleBufferNode>,
23 pub triple_buffer_node_id: NodeID,
24 pub triple_buffer_state: TripleBufferState,
25 pub triple_buffer_bypassed: bool,
26}
27
28impl AudioSystem {
29 pub fn new(window_size: u32) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected