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
|
<!-- 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>AuMakeElementImportDevice</B> - initialize an ImportDevice
element
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
<P>
#include <audio/audiolib.h>
<P>
<B>AuMakeElementImportDevice</B>(<I>element</I>, <I>sample</I><B>_</B><I>rate</I>, <I>device</I>,
<I>num</I><B>_</B><I>samples</I>, <I>num</I><B>_</B><I>actions</I>, <I>actions</I>)<BR>
<B>AuElement</B> *<I>element</I>; /* <B>RETURN</B> */<BR>
unsigned short <I>sample</I><B>_</B><I>rate</I>;<BR>
<B>AuDeviceID</B> <I>device</I>;<BR>
<B>AuUint32</B> <I>num</I><B>_</B><I>samples</I>;<BR>
int <I>num</I><B>_</B><I>actions</I>;<BR>
<B>AuElementAction</B> *<I>actions</I>;
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
<DL>
<DT><I>element</I> </DT></DT>
<DD>Returns the initialized element.
</DD>
</DL>
<P>
<I>sample</I><B>_</B><I>rate</I><BR>
Specifies the sample rate of the audio data.
<DL>
<DT><I>device</I> </DT></DT>
<DD> Specifies the ID of the device to read the audio
data from.
</DD>
</DL>
<P>
<I>num</I><B>_</B><I>samples</I><BR>
Specifies the number of samples to read from the
device. Use <B>AuUnlimitedSamples</B> to indicate an
unlimited number of samples.
<P>
<I>num</I><B>_</B><I>actions</I><BR>
Specifies the number of actions in <I>actions</I>.
<P>
<I>actions</I> Specifies the list of actions to associate with
this element. Entries in this list can be initialized
with <B>AuMakeChangeStateAction</B>, <B>AuMakeSendNotifyAction</B>,
and <B>AuMakeNoopAction</B>. May be<BR>
NULL.
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
<P>
<B>AuMakeElementImportDevice</B> sets the <I>type</I> member of <I>element</I>
to <B>AuElementTypeImportDevice</B> and initializes the <I>importde</I><B>_</B>v<I>ice</I>
member of <I>element</I> with the remaining arguments.
<P>
<B>AuMakeElementImportDevice</B> is implemented as a macro.
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
<P>
<B>AuMakeElementAddConstant</B>, <B>AuMakeElementBundle</B>, <B>AuMakeElementExportBucket</B>,
<B>AuMakeElementExportClient</B>, <B>AuMakeElementExportDevice</B>,
<B>AuMakeElementExportMonitor</B>, <B>AuMakeElementImportBucket</B>,
<B>AuMakeElementImportClient</B>, <B>AuMakeElementImportWaveForm</B>,
<B>AuMakeElementMultiplyConstant</B>, <B>AuMakeElementSum</B>.
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">See Also</A></LI>
</UL>
</BODY></HTML>
|