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

Name

6       AuSoundRecordToData - create a flow to record to memory.
7

Synopsis

9       #include <audio/audiolib.h>
10       #include <audio/soundlib.h>
11
12       AuEventHandlerRec  *AuSoundRecordToData(server,  sound,  data,  source,
13       gain, callback, callback_data, line_mode, flow, volume_mult_elem,  sta‐
14       tus)
15           AuServer *server;
16           Sound sound;
17           AuPointer data;
18           AuDeviceID source;
19           AuFixedPoint gain;
20           void  (*callback)  (AuServer *, AuEventHandlerRec *, AuEvent *, Au‐
21       Pointer);
22           AuPointer callback_data;
23           int line mode;
24           AuFlowID *flow;
25           int *volume_mult_elem;
26           AuStatus *status;
27

Arguments

29       server    Specifies the connection to the audio server.
30
31       sound     Specifies the description if the audio data.
32
33       data      Specifies where to write the data.
34
35       Source    Specifies the input device to record from.
36
37       gain      Specifies the gain for the input device.
38
39       callback  Specifies the procedure to be  called  for  additional  event
40                 processing.
41
42       callback_data
43                 Specifies any additional arguments to be passed to callback.
44
45       line_mode Specifies  the line mode for the input device.  Currently the
46                 following line modes are defined: AuDeviceInputModeNone,  Au‐
47                 DeviceInputModeLineIn, AuDeviceInputModeMicrophone.
48
49       flow      If non-NULL, returns the flow ID.
50
51       volume_mult_elem
52                 Accord to the comment in the source, not implemented.
53
54       status    If  non-NULL,  flush  the output buffer and return the status
55                 from the server.
56

Description

58       AuSoundRecordToData creates a flow to record from source  to  data  and
59       returns the event handler created or NULL if there was an error.
60

Errors

62       AuBadDevice.
63

See Also

65       AuSoundRecord,    AuSoundRecordToBucket,    AuSoundRecordToFile.    Au‐
66       SoundRecordToFileN.
67
68       audiolib - Network Audio System C Language Interface
69
70
71
72soundlib                             1.9.5              AuSoundRecordToData(3)
Impressum