~ubuntu-branches/debian/squeeze/nas/squeeze

« back to all changes in this revision

Viewing changes to doc/html/man3/AuMElImD.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2008-10-08 01:18:19 UTC
  • mfrom: (4.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081008011819-wmr4h2w0298k8t7z
Tags: 1.9.1-5
* Fix pending l10n issues. Debconf translations:
* Swedish. Closes: #491766 (thanks to brother@bsnet.se)
* Arabic. Closes: #500437 (thanks to Ossama Khayat)
* Basque. Closes: #500533 (thanks to Piarres Beobide)
* Brazilian Portuguese. Closes: #500973 (thanks to Felipe
  Augusto van de Wiel)
* Many thanks again to Christian Perrier for his i18n efforts,
  co-ordinating the above.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 -->
3
 
 
4
 
<HTML>
5
 
<HEAD>
6
 
<TITLE>man page(1)</TITLE>
7
 
</HEAD>
8
 
<BODY bgcolor=white>
9
 
<A HREF="#toc">Table of Contents</A><P>
10
 
 
11
 
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
12
 
 
13
 
<P>
14
 
<B>AuMakeElementImportDevice</B> - initialize an ImportDevice
15
 
element
16
 
 
17
 
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
18
 
 
19
 
<P>
20
 
#include &lt;audio/audiolib.h&gt;
21
 
<P>
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>
24
 
 
25
 
<B>AuElement</B> *<I>element</I>; /* <B>RETURN</B> */<BR>
26
 
 
27
 
unsigned short <I>sample</I><B>_</B><I>rate</I>;<BR>
28
 
 
29
 
<B>AuDeviceID</B> <I>device</I>;<BR>
30
 
 
31
 
<B>AuUint32</B> <I>num</I><B>_</B><I>samples</I>;<BR>
32
 
 
33
 
int <I>num</I><B>_</B><I>actions</I>;<BR>
34
 
 
35
 
<B>AuElementAction</B> *<I>actions</I>;
36
 
 
37
 
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
38
 
 
39
 
 
40
 
<DL>
41
 
 
42
 
<DT><I>element</I> </DT></DT>
43
 
<DD>Returns the initialized element.
44
 
</DD>
45
 
</DL>
46
 
<P>
47
 
<I>sample</I><B>_</B><I>rate</I><BR>
48
 
 
49
 
Specifies the sample rate of the audio data.
50
 
 
51
 
<DL>
52
 
 
53
 
<DT><I>device</I> </DT></DT>
54
 
<DD>   Specifies the ID of the device to read the audio
55
 
data from.
56
 
</DD>
57
 
</DL>
58
 
<P>
59
 
<I>num</I><B>_</B><I>samples</I><BR>
60
 
 
61
 
Specifies the number of samples to read from the
62
 
device. Use <B>AuUnlimitedSamples</B> to indicate an
63
 
unlimited number of samples.
64
 
<P>
65
 
<I>num</I><B>_</B><I>actions</I><BR>
66
 
 
67
 
Specifies the number of actions in <I>actions</I>.
68
 
<P>
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>
73
 
 
74
 
NULL.
75
 
 
76
 
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
77
 
 
78
 
<P>
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.
82
 
<P>
83
 
<B>AuMakeElementImportDevice</B> is implemented as a macro.
84
 
 
85
 
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
86
 
 
87
 
<P>
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
94
 
<P>
95
 
 
96
 
<HR><P>
97
 
<A NAME="toc"><B>Table of Contents</B></A><P>
98
 
<UL>
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>
104
 
</UL>
105
 
</BODY></HTML>