1AuMakeElementImportWaveFrom(L3i)brary Functions ManuAaulMakeElementImportWaveFrom(3)
2
3
4

Name

6       AuMakeElementImportWaveForm - initialize an ImportWaveForm element
7

Synopsis

9       #include <audio/audiolib.h>
10
11       AuMakeElementImportWaveForm(element,  sample_rate,  wave_form, num_sam‐
12       ples, freq, num_actions, actions)
13           AuElement *element; /* RETURN */
14           unsigned short sample_rate;
15           int wave_form;
16           AuInt32 freq;
17           AuInt32 num_samples;
18           int num_actions;
19           AuElementAction *actions;
20

Arguments

22       element   Returns the initialized element.
23
24       sample_rate
25                 Specifies the sample rate of the audio data.
26
27       wave_form Specifies the waveform  to  use.   Currently,  the  following
28                 waveforms   are  defined:  AuWaveFormSquare,  AuWaveFormSine,
29                 AuWaveFormSaw, and AuWaveFormConstant.
30
31       freq      Specifies the frequency of the waveform.
32
33       num_samples
34                 Specifies the number of samples to read.  Use AuUnlimitedSam‐
35                 ples to indicate an unlimited number of samples.
36
37       num_actions
38                 Specifies the number of actions in actions.
39
40       actions   Specifies the list of actions to associate with this element.
41                 Entries in this list can be initialized  with  AuMakeChangeS‐
42                 tateAction,   AuMakeSendNotifyAction,  and  AuMakeNoopAction.
43                 May be NULL.
44

Description

46       AuMakeElementImportWaveForm sets the type member of element  to  AuEle‐
47       mentTypeImportWaveForm and initializes the importwaveform member of el‐
48       ement with the remaining arguments.
49
50       AuMakeElementImportWaveForm is implemented as a macro.
51

NoteS

53       A server might not support all the waveforms currently defined.
54

See Also

56       AuMakeElementAddConstant,   AuMakeElementBundle,   AuMakeElementExport‐
57       Bucket,   AuMakeElementExportClient,  AuMakeElementExportDevice,  AuMa‐
58       keElementExportMonitor AuMakeElementImportBucket,  AuMakeElementImport‐
59       Client, AuMakeElementImportDevice, AuMakeElementMultiplyConstant, AuMa‐
60       keElementSum.
61
62       audiolib - Network Audio System C Language Interface
63
64
65
66audiolib - element initialization    1.9.5      AuMakeElementImportWaveFrom(3)
Impressum