cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalEmphasizeInit_S16_S16(void **filter, mlib_f32 alpha);
mlib_status mlib_SignalEmphasizeInit_S16S_S16S(void **filter, mlib_f32 alpha);
mlib_status mlib_SignalEmphasizeInit_F32_F32(void **filter, mlib_f32 alpha);
mlib_status mlib_SignalEmphasizeInit_F32S_F32S(void **filter, mlib_f32 alpha);
Each of these functions allocates memory for an internal filter structure and converts the filter coefficients into the internal representation.
Each of the functions takes the following arguments:
Internal filter structure.
Emphasizing coefficient. 0 < alpha < 1.0
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
mlib_SignalEmphasize_S16_S16_Sat(3MLIB), mlib_SignalEmphasizeFree_S16_S16(3MLIB), attributes(5)