cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalFIRInit_F32_F32(void **filter, const mlib_f32 *flt,mlib_s32 tap);
The mlib_SignalFIRInit_F32_F32() function allocates memory for the internal filter structure and converts the filter coefficients to an internal representation.
The function takes the following arguments:
Internal filter structure.
Filter coefficient array.
Taps of the filter.
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|