mlib_SignalFIRInit_F32S_F3mediaLib)Library mlib_SignalFIRInit_F32S_F32S(3MLIB)NAMEmlib_SignalFIRInit_F32S_F32S - Finite Impulse Response (FIR) filtering
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalFIRInit_F32S_F32S(void **filter,
const mlib_f32 *flt,mlib_s32 tap);
DESCRIPTION
The mlib_SignalFIRInit_F32S_F32S() function allocates memory for the
internal filter structure and converts the filter coefficients to an
internal representation.
PARAMETERS
The function takes the following arguments:
filter Internal filter structure.
flt Filter coefficient array in stereo format. flt[2*i] contains
Channel 0, and flt[2*i+1] contains Channel 1
tap Taps of the filter.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns
MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOattributes(5)SunOS 5.10 2 Mar 200mlib_SignalFIRInit_F32S_F32S(3MLIB)