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>AuMakeElementImportDevice</B> - initialize an ImportDevice
17
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
20
#include <audio/audiolib.h>
22
<B>AuMakeElementImportDevice</B>(<I>element</I>, <I>sample</I><B>_</B><I>rate</I>, <I>device</I>,
23
<I>num</I><B>_</B><I>samples</I>, <I>num</I><B>_</B><I>actions</I>, <I>actions</I>)<BR>
25
<B>AuElement</B> *<I>element</I>; /* <B>RETURN</B> */<BR>
27
unsigned short <I>sample</I><B>_</B><I>rate</I>;<BR>
29
<B>AuDeviceID</B> <I>device</I>;<BR>
31
<B>AuUint32</B> <I>num</I><B>_</B><I>samples</I>;<BR>
33
int <I>num</I><B>_</B><I>actions</I>;<BR>
35
<B>AuElementAction</B> *<I>actions</I>;
37
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
42
<DT><I>element</I> </DT></DT>
43
<DD>Returns the initialized element.
47
<I>sample</I><B>_</B><I>rate</I><BR>
49
Specifies the sample rate of the audio data.
53
<DT><I>device</I> </DT></DT>
54
<DD> Specifies the ID of the device to read the audio
59
<I>num</I><B>_</B><I>samples</I><BR>
61
Specifies the number of samples to read from the
62
device. Use <B>AuUnlimitedSamples</B> to indicate an
63
unlimited number of samples.
65
<I>num</I><B>_</B><I>actions</I><BR>
67
Specifies the number of actions in <I>actions</I>.
69
<I>actions</I> Specifies the list of actions to associate with
70
this element. Entries in this list can be initialized
71
with <B>AuMakeChangeStateAction</B>, <B>AuMakeSendNotifyAction</B>,
72
and <B>AuMakeNoopAction</B>. May be<BR>
76
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
79
<B>AuMakeElementImportDevice</B> sets the <I>type</I> member of <I>element</I>
80
to <B>AuElementTypeImportDevice</B> and initializes the <I>importde</I><B>_</B>v<I>ice</I>
81
member of <I>element</I> with the remaining arguments.
83
<B>AuMakeElementImportDevice</B> is implemented as a macro.
85
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
88
<B>AuMakeElementAddConstant</B>, <B>AuMakeElementBundle</B>, <B>AuMakeElementExportBucket</B>,
89
<B>AuMakeElementExportClient</B>, <B>AuMakeElementExportDevice</B>,
90
<B>AuMakeElementExportMonitor</B>, <B>AuMakeElementImportBucket</B>,
91
<B>AuMakeElementImportClient</B>, <B>AuMakeElementImportWaveForm</B>,
92
<B>AuMakeElementMultiplyConstant</B>, <B>AuMakeElementSum</B>.
93
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
97
<A NAME="toc"><B>Table of Contents</B></A><P>
99
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
100
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
101
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
102
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
103
<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI>