~ubuntu-branches/ubuntu/jaunty/nas/jaunty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2004-06-23 01:15:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040623011502-30uqd1dyu47iv2dp
Tags: 1.6d-1
New upstream release.

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>AuMakeElementExportDevice</B> - initialize an ExportDevice
 
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>AuMakeElementExportDevice</B>(<I>element</I>, <I>input</I>, <I>device</I>, <I>sam</I><B>_</B>p<I>le</I><B>_</B><I>rate</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>input</I>;<BR>
 
28
 
 
29
<B>AuDeviceID</B> <I>device</I>;<BR>
 
30
 
 
31
unsigned short <I>sample</I><B>_</B><I>rate</I>;<BR>
 
32
 
 
33
<B>AuUint32</B> <I>num</I><B>_</B><I>samples</I>;<BR>
 
34
 
 
35
int <I>num</I><B>_</B><I>actions</I>;<BR>
 
36
 
 
37
<B>AuElementAction</B> *<I>actions</I>;
 
38
 
 
39
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
 
40
 
 
41
 
 
42
<DL>
 
43
 
 
44
<DT><I>element</I> </DT></DT>
 
45
<DD>Returns the initialized element.
 
46
</DD>
 
47
 
 
48
<DT><I>input</I> </DT></DT>
 
49
<DD>    Specifies the index of the element to supply the
 
50
audio data to this element.
 
51
</DD>
 
52
 
 
53
<DT><I>device</I> </DT></DT>
 
54
<DD>   Specifies the ID of the device to send the audio
 
55
data to.
 
56
</DD>
 
57
</DL>
 
58
<P>
 
59
<I>sample</I><B>_</B><I>rate</I><BR>
 
60
 
 
61
Specifies the sample_rate of the audio data.
 
62
<P>
 
63
<I>num</I><B>_</B><I>samples</I><BR>
 
64
 
 
65
Specifies the number of samples to send to the
 
66
device. Use <B>AuUnlimitedSamples</B> to indicate an
 
67
unlimited number of samples.
 
68
<P>
 
69
<I>num</I><B>_</B><I>actions</I><BR>
 
70
 
 
71
Specifies the number of actions in <I>actions</I>.
 
72
<P>
 
73
<I>actions</I> Specifies the list of actions to associate with
 
74
this element. Entries in this list can be initialized
 
75
with <B>AuMakeChangeStateAction</B>, <B>AuMakeSendNotifyAction</B>,
 
76
and <B>AuMakeNoopAction</B>. May be
 
77
NULL.
 
78
 
 
79
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
 
80
 
 
81
<P>
 
82
<B>AuMakeElementExportDevice</B> sets the <I>type</I> member of <I>element</I>
 
83
to <B>AuElementTypeExportDevice</B> and initializes the <I>exportde</I><B>_</B>v<I>ice</I>
 
84
member of <I>element</I> with the remaining arguments.
 
85
<P>
 
86
<B>AuMakeElementExportDevice</B> is implemented as a macro.
 
87
 
 
88
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
 
89
 
 
90
<P>
 
91
<B>AuMakeElementAddConstant</B>, <B>AuMakeElementBundle</B>, <B>AuMakeElementExportBucket</B>,
 
92
<B>AuMakeElementExportClient</B>, <B>AuMakeElementExportMonitor</B>,
 
93
<B>AuMakeElementImportBucket</B>,
 
94
 
 
95
<DL>
 
96
 
 
97
<DT><B>AuMakeElementImportClient</B>, </DT></DT>
 
98
<DD>     <B>AuMakeElementImportDevice</B>,
 
99
</DD>
 
100
 
 
101
<DT><B>AuMakeElementImportWaveForm</B>, </DT></DT>
 
102
<DD>    <B>AuMakeElementMultiplyConstant</B>,
 
103
<B>AuMakeElementSum</B>.
 
104
</DD>
 
105
</DL>
 
106
<P>
 
107
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
 
108
<P>
 
109
 
 
110
<HR><P>
 
111
<A NAME="toc"><B>Table of Contents</B></A><P>
 
112
<UL>
 
113
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
 
114
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
 
115
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
 
116
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
 
117
<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI>
 
118
</UL>
 
119
</BODY></HTML>