1mlib_SignalSplit_S16_S16S(3mMeLdIiBa)Lib Library Funcmtliiobn_sSignalSplit_S16_S16S(3MLIB)
2
3
4
6 mlib_SignalSplit_S16_S16S - split
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalSplit_S16_S16S(mlib_s16 *ch0,
13 mlib_s16 *ch1, const mlib_s16 *src, mlib_s32 n);
14
15
17 The following function splits a stereo signal array into two signal
18 arrays.
19
21 The function takes the following arguments:
22
23 ch0 Destination signal array of Channel 0.
24
25
26 ch1 Destination signal array of Channel 1.
27
28
29 src Source stereo signal array. src[2*i] contains Channel 0, and
30 src[2*i+1] contains Channel 1.
31
32
33 n Number of samples in the source signal array.
34
35
37 The function returns MLIB_SUCCESS if successful. Otherwise it returns
38 MLIB_FAILURE.
39
41 See attributes(5) for descriptions of the following attributes:
42
43
44
45
46 ┌─────────────────────────────┬─────────────────────────────┐
47 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │Interface Stability │Committed │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │MT-Level │MT-Safe │
52 └─────────────────────────────┴─────────────────────────────┘
53
55 mlib_SignalMerge_S16S_S16(3MLIB), attributes(5)
56
57
58
59SunOS 5.11 2 Mar 2007 mlib_SignalSplit_S16_S16S(3MLIB)