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

Name

6       AuSoundRecordToBucket - create a flow to record to a bucket.
7

Synopsis

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

Arguments

27       server    Specifies the connection to the audio server.
28
29       destination
30                 Specifies the bucket to record to.
31
32       source    Specifies the input device to record from.
33
34       gain      Specifies the gain for the input device.
35
36       callback  Specifies  the  procedure  to  be called for additional event
37                 processing.
38
39       callback_data
40                 Specifies any additional arguments to be passed to the  call‐
41                 back.
42
43       mode      Specifies  the line mode for the input device.  Currently the
44                 following  line  modes  are  defined:  AuDeviceInputModeNone,
45                 AuDeviceInputModeLineIn, AuDeviceInputModeMicrophone.
46
47       flow      If non-NULL, returns the flow ID.
48
49       volume_mult_elem
50                 According to the comment in the source, not implemented.
51
52       status    If  non-NULL,  flush  the output buffer and return the status
53                 from the server.
54

Description

56       AuSoundRecordToBucket creates a flow to record from source into  desti‐
57       nation  and  returns  a pointer to the event handler created or NULL if
58       there was an error.
59

Errors

61       AuBadBucket, AuBadDevice.
62

See Also

64       AuSoundRecord,        AuSoundRecordToData,         AuSoundRecordToFile,
65       AuSoundRecordToFileN.
66
67       audiolib - Network Audio System C Language Interface
68
69
70
71soundlib                             1.9.1            AuSoundRecordToBucket(3)
Impressum