1mlib_SignalReSampleFIRInit_mSe1d6i_aSL1i6b(3LMiLbmIrlBai)rby_SFiugnncatliRoenSsampleFIRInit_S16_S16(3MLIB)
2
3
4

NAME

6       mlib_SignalReSampleFIRInit_S16_S16,                mlib_SignalReSample‐
7       FIRInit_S16S_S16S,  mlib_SignalReSampleFIRInit_F32_F32,  mlib_SignalRe‐
8       SampleFIRInit_F32S_F32S - initialization for resampling with filtering
9

SYNOPSIS

11       cc [ flag... ] file... -lmlib [ library... ]
12       #include <mlib.h>
13
14       mlib_status mlib_SignalReSampleFIRInit_S16_S16(void **state,
15            const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
16            mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);
17
18
19       mlib_status mlib_SignalReSampleFIRInit_S16S_S16S(void **state,
20            const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
21            mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);
22
23
24       mlib_status mlib_SignalReSampleFIRInit_F32_F32(void **state,
25            const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
26            mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);
27
28
29       mlib_status mlib_SignalReSampleFIRInit_F32S_F32S(void **state,
30            const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
31            mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);
32
33

DESCRIPTION

35       Each  of these functions allocates memory for the internal state struc‐
36       ture and converts the parameters into an  internal  representation  for
37       rational  sample  rate conversion with FIR filtering between upsampling
38       and downsampling.
39

PARAMETERS

41       Each of the functions takes the following arguments:
42
43       state      Internal state structure.
44
45
46       flt        Filter coefficient array,  two-channel  interleaved  in  the
47                  cases of stereo.
48
49
50       tap        Taps of the filter.
51
52
53       ufactor    Factor by which to upsample.
54
55
56       uphase     Phase in upsampling. 0 ≤ uphase < ufactor.
57
58
59       dfactor    Factor by which to downsample.
60
61
62       dphase     Phase in downsampling. 0 ≤ dphase < dfactor.
63
64

RETURN VALUES

66       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
67       returns MLIB_FAILURE.
68

ATTRIBUTES

70       See attributes(5) for descriptions of the following attributes:
71
72
73
74
75       ┌─────────────────────────────┬─────────────────────────────┐
76       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
77       ├─────────────────────────────┼─────────────────────────────┤
78       │Interface Stability          │Committed                    │
79       ├─────────────────────────────┼─────────────────────────────┤
80       │MT-Level                     │MT-Safe                      │
81       └─────────────────────────────┴─────────────────────────────┘
82

SEE ALSO

84       mlib_SignalReSampleFIR_S16_S16_Sat(3MLIB),         mlib_SignalReSample‐
85       FIR_F32_F32(3MLIB),          mlib_SignalReSampleFIRFree_S16_S16(3MLIB),
86       mlib_SignalReSampleFIRFree_F32_F32(3MLIB), attributes(5)
87
88
89
90SunOS 5.11                        2 Mamrli2b0_0S7ignalReSampleFIRInit_S16_S16(3MLIB)
Impressum