Function basic_dsp_interop::facade32::convolve_real32 [] [src]

#[no_mangle]
pub extern "C" fn convolve_real32(
    vector: Box<VecBuf>,
    impulse_response: extern "C" fn(_: *const c_void, _: f32) -> f32,
    impulse_response_data: *const c_void,
    is_symmetric: bool,
    ratio: f32,
    len: usize
) -> VectorInteropResult<VecBuf>

Convolves the vector with an impulse response defined by impulse_response and the void pointer impulse_response_data. The impulse_response_data pointer is passed to the impulse_response function at every call and can be used to store parameters.