1mlib_SignalMulS_F32(3MLIB)mediaLib Library Functionsmlib_SignalMulS_F32(3MLIB)
2
3
4
6 mlib_SignalMulS_F32, mlib_SignalMulS_F32S - multiplication by a scalar
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalMulS_F32(mlib_f32 *srcdst, const mlib_f32 *c,
13 mlib_s32 n);
14
15
16 mlib_status mlib_SignalMulS_F32S(mlib_f32 *srcdst, const mlib_f32 *c,
17 mlib_s32 n);
18
19
21 Each of these functions performs multiplication by a scalar.
22
24 Each of the functions takes the following arguments:
25
26 srcdst Input and output signal array.
27
28
29 c Scaling factor. In the stereo version, c[0] contains the
30 scaling factor for channel 0, and c[1] holds the scaling fac‐
31 tor for channel 1.
32
33
34 n Number of samples in the input signal arrays.
35
36
38 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
39 returns MLIB_FAILURE.
40
42 See attributes(5) for descriptions of the following attributes:
43
44
45
46
47 ┌─────────────────────────────┬─────────────────────────────┐
48 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │Interface Stability │Committed │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │MT-Level │MT-Safe │
53 └─────────────────────────────┴─────────────────────────────┘
54
56 mlib_SignalMulS_F32_F32(3MLIB), attributes(5)
57
58
59
60SunOS 5.11 2 Mar 2007 mlib_SignalMulS_F32(3MLIB)