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

Method process

crates/firewheel-core/src/node.rs:534–545  ·  view source on GitHub ↗

Process the given block of audio. `info` - Information about this processing block. `buffers` - The buffers of data to process. `extra` - Additional buffers and utilities. WARNING: Audio nodes *MUST* either completely fill all output buffers with data, or return [`ProcessStatus::ClearAllOutputs`]/[`ProcessStatus::Bypass`]. Failing to do this will result in audio glitches. If using [`AudioNodeInf

(
        &mut self,
        info: &ProcInfo,
        buffers: ProcBuffers,
        extra: &mut ProcExtra,
    )

Source from the content-addressed store, hash-verified

532 /// This is always called in a realtime thread, so do not perform any
533 /// realtime-unsafe operations.
534 fn process(
535 &mut self,
536 info: &ProcInfo,
537 buffers: ProcBuffers,
538 extra: &mut ProcExtra,
539 ) -> ProcessStatus {
540 let _ = info;
541 let _ = buffers;
542 let _ = extra;
543
544 ProcessStatus::Bypass
545 }
546
547 /// Called when the audio stream has been stopped.
548 ///

Callers

nothing calls this directly

Implementers 15

filter.rsexamples/custom_nodes/src/nodes/filter
noise_gen.rsexamples/custom_nodes/src/nodes/noise_
rms.rsexamples/custom_nodes/src/nodes/rms.rs
triple_buffer.rscrates/firewheel-nodes/src/triple_buff
beep_test.rscrates/firewheel-nodes/src/beep_test.r
volume.rscrates/firewheel-nodes/src/volume.rs
spatial_basic.rscrates/firewheel-nodes/src/spatial_bas
delay_compensation.rscrates/firewheel-nodes/src/delay_compe
mix.rscrates/firewheel-nodes/src/mix.rs
svf.rscrates/firewheel-nodes/src/svf.rs
fast_rms.rscrates/firewheel-nodes/src/fast_rms.rs
sampler.rscrates/firewheel-nodes/src/sampler.rs

Calls

no outgoing calls

Tested by

no test coverage detected