1mlib_SignalWhiteNoise_S16(3mMeLdIiBa)Lib Library Funcmtliiobn_sSignalWhiteNoise_S16(3MLIB)
2
3
4
6 mlib_SignalWhiteNoise_S16 - white noise generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalWhiteNoise_S16(mlib_s16 *wnoise,
13 void *state, mlib_s32 n);
14
15
17 The mlib_SignalWhiteNoise_S16() function generates one packet of white
18 noise and updates the internal state.
19
21 The function takes the following arguments:
22
23 wnoise Generated white noise array.
24
25
26 state Internal state structure.
27
28
29 n Length of the generated sine wave array in number of samples.
30
31
33 The function returns MLIB_SUCCESS if successful. Otherwise it returns
34 MLIB_FAILURE.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Committed │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │MT-Level │MT-Safe │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 mlib_SignalWhiteNoiseFree_S16(3MLIB), mlib_SignalWhiteNoi‐
52 seInit_S16(3MLIB), attributes(5)
53
54
55
56SunOS 5.11 2 Mar 2007 mlib_SignalWhiteNoise_S16(3MLIB)