cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalReSampleFIR_S16_S16_Sat(mlib_s16 *dst, const mlib_s16 *src, void *state, mlib_s32 n);
mlib_status mlib_SignalReSampleFIR_S16S_S16S_Sat(mlib_s16 *dst, const mlib_s16 *src, void *state, mlib_s32 n);
Each of these functions performs rational sample rate conversion with FIR filtering between the upsampling and downsampling.
Each of the functions takes the following arguments:
Output signal array.
Input signal array.
Internal state structure.
Number of samples in the input signal array.
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|