cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalUpSampleFIR_F32S_F32S(mlib_f32 *dst, const mlib_f32 *src, void *state, mlib_s32 n);
The mlib_SignalUpSampleFIR_F32S_F32S() function performs upsampling immediately followed by FIR filtering on one packet of signal and updates the internal state.
The function takes the following arguments:
Output stereo signal array. src[2*i] contains Channel 0, and src[2*i+1] contains Channel 1.
Source stereo signal array. src[2*i] contains Channel 0, and src[2*i+1] contains Channel 1.
Internal state structure.
Number of samples in the input signal array.
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|