1
<!-- manual page source format generated by PolyglotMan v3.0.7, -->
2
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
6
<TITLE>man page(1)</TITLE>
9
<A HREF="#toc">Table of Contents</A><P>
11
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
14
<B>AuSoundRecordToBucket</B> - create a flow to record to a
17
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
20
#include <audio/audiolib.h><BR>
22
#include <audio/soundlib.h>
24
<B>AuEventHandlerRec</B> *<B>AuSoundRecordToBucket</B>(<I>server</I>, <I>destina</I><B>_</B>t<I>ion</I>,
25
<I>source</I>, <I>gain</I>, <I>callback</I>, <I>callback</I><B>_</B><I>data</I>, <I>mode</I>, <I>flow</I>,
26
<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I>, <I>status</I>)<BR>
28
<B>AuServer</B> *<I>server</I>;<BR>
30
<B>AuBucketID</B> <I>destination</I>;<BR>
32
<B>AuDeviceID</B> <I>source</I>;<BR>
34
<B>AuFixedPoint</B> <I>gain</I>;<BR>
36
void (*<I>callback</I>) (<B>AuServer</B> *, <B>AuEventHandlerRec</B> *,
37
<B>AuEvent</B> *, <B>AuPointer</B>);<BR>
39
<B>AuPointer</B> <I>callback</I><B>_</B><I>data</I>;<BR>
43
<B>AuFlowID</B> *<I>flow</I>; /* <B>RETURN</B> */<BR>
45
int *<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I>; /* <B>RETURN</B> */
46
<B>AuStatus</B> *<I>status</I>; /* <B>RETURN</B> */
48
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
53
<DT><I>server</I> </DT></DT>
54
<DD> Specifies the connection to the audio server.
58
<I>destination</I><BR>
60
Specifies the bucket to record to.
64
<DT><I>source</I> </DT></DT>
65
<DD> Specifies the input device to record from.
68
<DT><I>gain</I> </DT></DT>
69
<DD> Specifies the gain for the input device.
73
<I>callback</I> Specifies the procedure to be called for additional
76
<I>callback</I><B>_</B><I>data</I><BR>
78
Specifies any additional arguments to be passed
83
<DT><I>mode</I> </DT></DT>
84
<DD> Specifies the line mode for the input device.
85
Currently the following line modes are defined:
86
<B>AuDeviceInputModeNone</B>, <B>AuDeviceInputModeLineIn</B>,
87
<B>AuDeviceInputModeMicrophone</B>.
90
<DT><I>flow</I> </DT></DT>
91
<DD> If non-NULL, returns the flow ID.
95
<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I><BR>
97
According to the comment in the source, not
102
<DT><I>status</I> </DT></DT>
103
<DD> If non-NULL, flush the output buffer and return
104
the status from the server.
108
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
111
<B>AuSoundRecordToBucket</B> creates a flow to record from <I>source</I>
112
into <I>destination</I> and returns a pointer to the event handler
113
created or NULL if there was an error.
115
<H2><A NAME="sect4" HREF="#toc4"><B>Errors</B></A></H2>
118
<B>AuBadBucket</B>, <B>AuBadDevice</B>.
120
<H2><A NAME="sect5" HREF="#toc5"><B>See</B> <B>Also</B></A></H2>
123
<B>AuSoundRecord</B>, <B>AuSoundRecordToData</B>, <B>AuSoundRecordToFile</B>,
124
<B>AuSoundRecordToFileN</B>.
126
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
130
<A NAME="toc"><B>Table of Contents</B></A><P>
132
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
133
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
134
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
135
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
136
<LI><A NAME="toc4" HREF="#sect4">Errors</A></LI>
137
<LI><A NAME="toc5" HREF="#sect5">See Also</A></LI>