1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
|
<!-- manual page source format generated by PolyglotMan v3.0.7, -->
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
<HTML>
<HEAD>
<TITLE>man page(1)</TITLE>
</HEAD>
<BODY bgcolor=white>
<A HREF="#toc">Table of Contents</A><P>
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
<P>
<B>AuSoundRecordToData</B> - create a flow to record to memory.
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
<P>
#include <audio/audiolib.h><BR>
#include <audio/soundlib.h>
<P>
<B>AuEventHandlerRec</B> *<B>AuSoundRecordToData</B>(<I>server</I>, <I>sound</I>,
<I>data</I>, <I>source</I>, <I>gain</I>, <I>callback</I>, <I>callback</I><B>_</B><I>data</I>, <I>line</I><B>_</B><I>mode</I>,
<I>flow</I>, <I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I>, <I>status</I>)<BR>
<B>AuServer</B> *<I>server</I>;<BR>
<B>Sound</B> <I>sound</I>;<BR>
<B>AuPointer</B> <I>data</I>;<BR>
<B>AuDeviceID</B> <I>source</I>;<BR>
<B>AuFixedPoint</B> <I>gain</I>;<BR>
void (*<I>callback</I>) (<B>AuServer</B> *, <B>AuEventHandlerRec</B> *,
<B>AuEvent</B> *, <B>AuPointer</B>);<BR>
<B>AuPointer</B> <I>callback</I><B>_</B><I>data</I>;<BR>
int <I>line</I> <I>mode</I>;<BR>
<B>AuFlowID</B> *<I>flow</I>;<BR>
int *<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I>;<BR>
<B>AuStatus</B> *<I>status</I>;
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
<DL>
<DT><I>server</I> </DT></DT>
<DD> Specifies the connection to the audio server.
</DD>
<DT><I>sound</I> </DT></DT>
<DD> Specifies the description if the audio data.
</DD>
<DT><I>data</I> </DT></DT>
<DD> Specifies where to write the data.
</DD>
<DT><I>Source</I> </DT></DT>
<DD> Specifies the input device to record from.
</DD>
<DT><I>gain</I> </DT></DT>
<DD> Specifies the gain for the input device.
</DD>
</DL>
<P>
<I>callback</I> Specifies the procedure to be called for additional
event processing.
<P>
<I>callback</I><B>_</B><I>data</I><BR>
Specifies any additional arguments to be passed
to callback.
<P>
<I>line</I><B>_</B><I>mode</I> Specifies the line mode for the input device.
Currently the following line modes are defined:
<B>AuDeviceInputModeNone</B>, <B>AuDeviceInputModeLineIn</B>,
<B>AuDeviceInputModeMicrophone</B>.
<DL>
<DT><I>flow</I> </DT></DT>
<DD> If non-NULL, returns the flow ID.
</DD>
</DL>
<P>
<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I><BR>
Accord to the comment in the source, not implemented.
<DL>
<DT><I>status</I> </DT></DT>
<DD> If non-NULL, flush the output buffer and return
the status from the server.
</DD>
</DL>
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
<P>
<B>AuSoundRecordToData</B> creates a flow to record from <I>source</I>
to <I>data</I> and returns the event handler created or NULL if
there was an error.
<H2><A NAME="sect4" HREF="#toc4"><B>Errors</B></A></H2>
<P>
<B>AuBadDevice</B>.
<H2><A NAME="sect5" HREF="#toc5"><B>See</B> <B>Also</B></A></H2>
<P>
<B>AuSoundRecord</B>, <B>AuSoundRecordToBucket</B>, <B>AuSoundRecordToFile</B>.
<B>AuSoundRecordToFileN</B>.
<P>
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
<P>
<HR><P>
<A NAME="toc"><B>Table of Contents</B></A><P>
<UL>
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
<LI><A NAME="toc4" HREF="#sect4">Errors</A></LI>
<LI><A NAME="toc5" HREF="#sect5">See Also</A></LI>
</UL>
</BODY></HTML>
|