1mlib_SignalSineWave_S16(3MLmIeBd)iaLib Library Functimolnisb_SignalSineWave_S16(3MLIB)
2
3
4

NAME

6       mlib_SignalSineWave_S16 - sine wave generation
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_SignalSineWave_S16(mlib_s16 *sine, void *state,
13            mlib_s32 n);
14
15

DESCRIPTION

17       The  mlib_SignalSineWave_S16()  function  generates  one packet of sine
18       wave and updates the internal state.
19

PARAMETERS

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

RETURN VALUES

33       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
34       MLIB_FAILURE.
35

ATTRIBUTES

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

SEE ALSO

51       mlib_SignalSineWaveFree_S16(3MLIB), mlib_SignalSineWaveInit_S16(3MLIB),
52       attributes(5)
53
54
55
56SunOS 5.11                        2 Mar 2007    mlib_SignalSineWave_S16(3MLIB)
Impressum