1mlib_SignalSineWave_F32(3MLmIeBd)iaLib Library Functimolnisb_SignalSineWave_F32(3MLIB)
2
3
4
6 mlib_SignalSineWave_F32 - sine wave generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalSineWave_F32(mlib_f32 *sine, void *state,
13 mlib_s32 n);
14
15
17 The mlib_SignalSineWave_F32() function generates one packet of sine
18 wave and updates the internal state.
19
21 The function takes the following arguments:
22
23 sine Generated sine wave 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 attributes(5)
52
53
54
55SunOS 5.11 2 Mar 2007 mlib_SignalSineWave_F32(3MLIB)