1AuReadElement(3)           Library Functions Manual           AuReadElement(3)
2
3
4

Name

6       AuReadElement - read data from an ExportClient element in a flow
7

Synopsis

9       #include <audio/audiolib.h>
10
11       void AuReadElement(server, flow, element, num_bytes, data, status)
12           AuServer *server;
13           AuFlowID flow;
14           int element;
15           AuUint32 num_bytes;
16           AuPointer data;
17           AuStatus *status; /* RETURN */
18

Arguments

20       server    Specifies the connection to the audio server.
21
22       flow      Specifies the ID of the flow.
23
24       element   Specifies  the  index of the ExportClient element to read the
25                 data from.
26
27       num_bytes Specifies the number of bytes of audio data to read.
28
29       data      Specifies the buffer to read the audio data into.
30
31       status    If non-NULL, flush the output buffer and  return  the  status
32                 from the server.
33

Description

35       AuReadElement transfers audio data from the server to the client appli‐
36       cation, reading num_bytes from the ExportClient specified by element in
37       audio flow flow into data.
38

Note

40       If the flow is "trivial" (consisting only of an ExportClient and an Im‐
41       portBucket), the num_samples fields in  the  ExportClient  and  Import‐
42       Bucket are ignored.
43

Errors

45       AuBadFlow, AuBadElement.
46

See Also

48       AuWriteElement.
49
50       audiolib - Network Audio System C Language Interface
51
52
53
54audiolib - read from element         1.9.5                    AuReadElement(3)
Impressum