Skip to main content

interpolatei_custom64

Function interpolatei_custom64 

Source
#[unsafe(no_mangle)]
pub extern "C" fn interpolatei_custom64( vector: Box<VecBuf>, frequency_response: extern "C" fn(*const c_void, f64) -> f64, frequency_response_data: *const c_void, is_symmetric: bool, interpolation_factor: i32, ) -> VectorInteropResult<VecBuf>
Expand description

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