1mlib_SignalWhiteNoiseInit_Sm1e6d(i3aMLLiIbB)LibrarymFluinbc_tSiiognnsalWhiteNoiseInit_S16(3MLIB)
2
3
4
6 mlib_SignalWhiteNoiseInit_S16 - white noise generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalWhiteNoiseInit_S16(void **state,
13 mlib_s16 mag, mlib_s16 seed);
14
15
17 The mlib_SignalWhiteNoiseInit_S16() function allocates memory for an
18 internal state structure and converts the parameters into an internal
19 representation.
20
22 The function takes the following arguments:
23
24 state Internal state structure.
25
26
27 mag Magnitude of white noise to be generated, in Q15 format.
28
29
30 seed Seed value for the pseudorandom number generator.
31
32
34 The function returns MLIB_SUCCESS if successful. Otherwise it returns
35 MLIB_FAILURE.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Interface Stability │Committed │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │MT-Level │MT-Safe │
49 └─────────────────────────────┴─────────────────────────────┘
50
52 mlib_SignalWhiteNoise_S16(3MLIB), mlib_SignalWhiteNoiseFree_S16(3MLIB),
53 attributes(5)
54
55
56
57SunOS 5.11 2 Mar 200m7lib_SignalWhiteNoiseInit_S16(3MLIB)