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

« back to all changes in this revision

Viewing changes to doc/html/man3/AuSPFD.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>AuSoundPlayFromData</B> - create a flow to play from memory.
15
 
 
16
 
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
17
 
 
18
 
<P>
19
 
#include &lt;audio/audiolib.h&gt;<BR>
20
 
 
21
 
#include &lt;audio/soundlib.h&gt;
22
 
<P>
23
 
<B>AuEventHandlerRec</B>    *<B>AuSoundPlayFromData</B>(<I>server</I>, <I>sound</I>,
24
 
<I>data</I>, <I>destination</I>, <I>volume</I>, <I>callback</I>, <I>callback</I><B>_</B><I>data</I>, <I>flow</I>,
25
 
<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I>, <I>monitor</I><B>_</B><I>element</I>, <I>status</I>)
26
 
<B>AuServer</B> *<I>server</I>;<BR>
27
 
 
28
 
<B>Sound</B> <I>sound</I>;<BR>
29
 
 
30
 
<B>AuPointer</B> <I>data</I>;<BR>
31
 
 
32
 
<B>AuDeviceID</B> <I>destination</I>;<BR>
33
 
 
34
 
<B>AuFixedPoint</B> <I>volume</I>;<BR>
35
 
 
36
 
void (*<I>callback</I>) (<B>AuServer</B> *, <B>AuEventHandlerRec</B> *,
37
 
<B>AuEvent</B> *, <B>AuPointer</B>);<BR>
38
 
 
39
 
<B>AuPointer</B> <I>callback</I><B>_</B><I>data</I>;<BR>
40
 
 
41
 
<B>AuFlowID</B> *<I>flow</I>; /* <B>RETURN</B> */<BR>
42
 
 
43
 
int *<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I>; /* <B>RETURN</B> */
44
 
int *<I>monitor</I><B>_</B><I>element</I>; /* <B>RETURN</B> */<BR>
45
 
 
46
 
<B>AuStatus</B> *<I>status</I>; /* <B>RETURN</B> */
47
 
 
48
 
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
49
 
 
50
 
 
51
 
<DL>
52
 
 
53
 
<DT><I>server</I> </DT></DT>
54
 
<DD>   Specifies the connection to the audio server.
55
 
</DD>
56
 
 
57
 
<DT><I>sound</I> </DT></DT>
58
 
<DD>    Specifies the description of the audio data.
59
 
</DD>
60
 
 
61
 
<DT><I>data</I> </DT></DT>
62
 
<DD>     Specifies the audio data to play.
63
 
</DD>
64
 
</DL>
65
 
<P>
66
 
<I>destination</I><BR>
67
 
 
68
 
Specifies the device to play the data on.
69
 
 
70
 
<DL>
71
 
 
72
 
<DT><I>volume</I> </DT></DT>
73
 
<DD>   Specifies the volume.
74
 
</DD>
75
 
</DL>
76
 
<P>
77
 
<I>callback</I> Specifies the procedure to be called for additional
78
 
event processing.
79
 
<P>
80
 
<I>callback</I><B>_</B><I>data</I><BR>
81
 
 
82
 
Specifies any additional arguments to be passed
83
 
the callback.
84
 
 
85
 
<DL>
86
 
 
87
 
<DT><I>flow</I> </DT></DT>
88
 
<DD>     If non-NULL, returns the flow ID.
89
 
</DD>
90
 
</DL>
91
 
<P>
92
 
<I>volume</I><B>_</B><I>mult</I><B>_</B><I>elem</I><BR>
93
 
 
94
 
If non-NULL, returns the index of the volume
95
 
multipler element.
96
 
<P>
97
 
<I>monitor</I><B>_</B><I>element</I><BR>
98
 
 
99
 
If non-NULL, include an ExportMonitor element in
100
 
the flow and return it's index.
101
 
 
102
 
<DL>
103
 
 
104
 
<DT><I>status</I> </DT></DT>
105
 
<DD>   If non-NULL, flush the output buffer and return
106
 
the status from the server.
107
 
</DD>
108
 
</DL>
109
 
 
110
 
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
111
 
 
112
 
<P>
113
 
<B>AuSoundPlayFromData</B> creates a flow to play <I>data</I> on <I>device</I>
114
 
and returns a pointer to the event handler created or NULL
115
 
if there was an error.
116
 
 
117
 
<H2><A NAME="sect4" HREF="#toc4"><B>Errors</B></A></H2>
118
 
 
119
 
<P>
120
 
<B>AuBadAlloc</B>, <B>AuBadDevice</B>.
121
 
 
122
 
<H2><A NAME="sect5" HREF="#toc5"><B>See</B> <B>Also</B></A></H2>
123
 
 
124
 
<P>
125
 
<B>AuSoundPlay</B>, <B>AuSoundPlayFromBucket</B>, <B>AuSoundPlayFromFile</B>,
126
 
<B>AuSoundPlaySynchronousFromFile</B>.
127
 
<P>
128
 
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
129
 
<P>
130
 
 
131
 
<HR><P>
132
 
<A NAME="toc"><B>Table of Contents</B></A><P>
133
 
<UL>
134
 
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
135
 
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
136
 
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
137
 
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
138
 
<LI><A NAME="toc4" HREF="#sect4">Errors</A></LI>
139
 
<LI><A NAME="toc5" HREF="#sect5">See Also</A></LI>
140
 
</UL>
141
 
</BODY></HTML>