DspReadCallback

Type Alias DspReadCallback 

Source
pub type DspReadCallback = Option<fn(dsp_state: &DspState, in_buffer: &mut [f32], out_buffer: &mut [f32], length: u32, inchannels: i32, outchannels: i32) -> Status>;
Expand description

allow the user to modify data that will be read

Aliased Type§

pub enum DspReadCallback {
    None,
    Some(fn(&DspState, &mut [f32], &mut [f32], u32, i32, i32) -> Status),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(fn(&DspState, &mut [f32], &mut [f32], u32, i32, i32) -> Status)

Some value of type T.