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

Name

6       AuSoundPlayFromBucket - create a flow to play from a bucket.
7

Synopsis

9       #include <audio/audiolib.h>
10       #include <audio/soundlib.h>
11
12       AuEventHandlerRec  *AuSoundPlayFromBucket(server,  source, destination,
13       volume, callback, callback_data,  loop_count,  flow,  volume_mult_elem,
14       monitor_element, status)
15           AuServer *server;
16           AuBucketID source;
17           AuDeviceID destination;
18           AuFixedPoint volume;
19           void  (*callback)  (AuServer  *,  AuEventHandlerRec  *,  AuEvent *,
20       AuPointer);
21           AuPointer callback_data;
22           int loop_count;
23           AuFlowID *flow; /* RETURN */
24           int *volume_mult_elem; /* RETURN */
25           int *monitor_element; /* RETURN */
26           AuStatus *status; /* RETURN */
27

Arguments

29       server    Specifies the connection to the audio server.
30
31       source    Specifies the bucket to play.
32
33       destination
34                 Specifies the device to output the audio data.
35
36       volume    Specifies the volume.
37
38       callback  Specifies the procedure to be  called  for  additional  event
39                 processing.
40
41       callback_data
42                 Specifies  any additional arguments to be passed to the call‐
43                 back.
44
45       loop_count
46                 Specifies how many time the bucket should be played.
47
48       flow      If non-NULL, returns the flow ID.
49
50       volume_mult_elem
51                 If non-NULL, returns the index of the volume  multipler  ele‐
52                 ment.
53
54       monitor_element
55                 If non-NULL, include an ExportMonitor element in the flow and
56                 return it's index.
57
58       status    If non-NULL, flush the output buffer and  return  the  status
59                 from the server.
60

Description

62       AuSoundPlayFromBucket  creates  a  flow  to  play  bucket on device and
63       returns a pointer to the event handler created or NULL if there was  an
64       error.
65

Errors

67       AuBadBucket, AuBadDevice.
68

See Also

70       AuSoundPlay,  AuSoundPlayFromData, AuSoundPlayFromFile, AuSoundPlaySyn‐
71       chronousFromFile.
72
73       audiolib - Network Audio System C Language Interface
74
75
76
77soundlib                             1.9.2            AuSoundPlayFromBucket(3)
Impressum