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

Method process

crates/firewheel-graph/src/processor.rs:83–96  ·  view source on GitHub ↗
(
        &mut self,
        input: &dyn Adapter<'_, f32>,
        output: &mut dyn AdapterMut<'_, f32>,
        info: BackendProcessInfo,
    )

Source from the content-addressed store, hash-verified

81 }
82
83 pub fn process(
84 &mut self,
85 input: &dyn Adapter<f32>,
86 output: &mut dyn AdapterMut<f32>,
87 info: BackendProcessInfo,
88 ) {
89 self.poll_drop_flag();
90
91 if let Some(inner) = &mut self.inner {
92 inner.process(input, output, info);
93 } else {
94 output.fill_frames_with(0, info.frames, &0.0);
95 }
96 }
97
98 fn poll_drop_flag(&mut self) {
99 if self.inner.is_some() && self.drop_flag.load(Ordering::Relaxed) {

Callers 2

callbackMethod · 0.45
clap_drop_orderingFunction · 0.45

Calls 1

poll_drop_flagMethod · 0.80

Tested by

no test coverage detected