pub trait DspProcess: Send {
// Required method
fn process(
&mut self,
inputs: &NodeInputs<'_>,
output: &mut NodeOutput,
params: &mut ParamBlock,
sample_rate: f32,
);
// Provided methods
fn capture_state(&self) -> StateBlob { ... }
fn restore_state(&mut self, _state: StateBlob) { ... }
}Expand description
The processing trait node authors implement.
Simpler than DspNode — no raw pointer handling required.