File: AuServer.3.html

package info (click to toggle)
nas 1.9.4-9.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,644 kB
  • sloc: ansic: 52,144; makefile: 31,377; sh: 8,077; perl: 1,104; yacc: 252; cpp: 216; lex: 68
file content (192 lines) | stat: -rw-r--r-- 6,704 bytes parent folder | download | duplicates (9)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192

<!--
  $NCDId: @(#)AuServer.man,v 1.1 1994/09/27 00:36:39 greg Exp $
   copyright 1994 Steven King
   
   portions are
   * Copyright 1993 Network Computing Devices, Inc.
   *
   * Permission to use, copy, modify, distribute, and sell this software and its
   * documentation for any purpose is hereby granted without fee, provided that
   * the above copyright notice appear in all copies and that both that
   * copyright notice and this permission notice appear in supporting
   * documentation, and that the name Network Computing Devices, Inc. not be
   * used in advertising or publicity pertaining to distribution of this
   * software without specific, written prior permission.
   * 
   * THIS SOFTWARE IS PROVIDED 'AS-IS'.  NETWORK COMPUTING DEVICES, INC.,
   * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT
   * LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
   * PARTICULAR PURPOSE, OR NONINFRINGEMENT.  IN NO EVENT SHALL NETWORK
   * COMPUTING DEVICES, INC., BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING
   * SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA,
   * OR PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF
   * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN
   * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
   
   $Id: AuServer.3.html 243 2007-04-07 23:13:43Z jon $
 
-->
<!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
<!-- available at http://polyglotman.sourceforge.net/ -->

<html>
<head>
<title>AuServer(3) manual page</title>
</head>
<body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'><b>Name</b></a></h2>
<b>AuServer</b> - AuServer structure 
<h2><a name='sect1' href='#toc1'><b>Structures</b></a></h2>
#include
&lt;audio/audiolib.h&gt; <p>
typedef struct _AuServer <br>
{ <br>
    . . .<br>
 <br>
}<b>AuServer</b>; 
<h2><a name='sect2' href='#toc2'>Macros</a></h2>
Do not dereference the members of the <b>AuServer</b> structure
directly. Instead use the access macros. <p>
<i>server</i> is a pointer to a <b>AuServer</b>
structure. 
<dl>

<dt><b>AuServerConnectionNumber</b>(<i>server</i>)</dt>
<dd>Accesses the int connection number.
</dd>

<dt><b>AuServerQLength</b>(<i>server</i>)</dt>
<dd>Accesses the int value with the length of the input
queue. </dd>

<dt><b>AuServerVendor</b>(<i>server</i>)</dt>
<dd>Accesses the NUL-terminated string giving the
identification of the audio server vendor. </dd>

<dt><b>AuServerProtocolMajorVersion</b>(<i>server</i>)</dt>
<dd>Accesses
the int value of the major protocol revision number of the audio server.
</dd>

<dt><b>AuServerProtocolMinorVersion</b>(<i>server</i>)</dt>
<dd>Accesses the int value of the minor
protocol revision number of the audio server. </dd>

<dt><b>AuServerVendorRelease</b>(<i>server</i>)</dt>
<dd>Accesses
the int value with the release number of the audio server. </dd>

<dt><b>AuServerString</b>(<i>server</i>)</dt>
<dd>Accesses
the NUL-terminated string giving the server name. </dd>

<dt><b>AuServerNextRequest</b>(<i>server</i>)</dt>
<dd>Accesses
the <b>AuUint32</b> serial ID of the next protocol request to be sent. </dd>

<dt><b>AuServerLastKnownRequestProcessed</b>(<i>server</i>)</dt>
<dd>Accesses
the <b>AuUint32</b> serial ID of the last known protocol request sent. </dd>

<dt><b>AuServerResourceBase</b>(<i>server</i>)</dt>
<dd>Accesses
the <b>AuID</b> base used in constructing resource ID's. </dd>

<dt><b>AuServerResourceMask</b>(<i>server</i>)</dt>
<dd>Accesses
the <b>AuID</b> mask used in constructing resource ID's. </dd>

<dt><b>AuServerMinSampleRate</b>(<i>server</i>)</dt>
<dd>Accesses
the int value with the minimum sample rate supported by the server. </dd>

<dt><b>AuServerMaxSampleRate</b>(<i>server</i>)</dt>
<dd>Accesses
the int value with the maximum sample rate supported by the server. </dd>

<dt><b>AuServerMaxTracks</b>(<i>server</i>)</dt>
<dd>Accesses
the int value indicating the maximum number of tracks supported by the
server. </dd>

<dt><b>AuServerNumFormats</b>(<i>server</i>)</dt>
<dd>Accesses the int value indicating the
number of formats supported by the server. </dd>

<dt><b>AuServerNumElementTypes</b>(<i>server</i>)</dt>
<dd>Accesses
the int value indicating the number of element types supported by the server.
</dd>

<dt><b>AuServerNumWaveForms</b>(<i>server</i>)</dt>
<dd>Accesses the int value indicating the number
of waveform generators supported by the server. </dd>

<dt><b>AuServerNumActions</b>(<i>server</i>)</dt>
<dd>Accesses
the int value indicating the number of actions supported by the server.
</dd>

<dt><b>AuServerNumDevices</b>(<i>server</i>)</dt>
<dd>Accesses the int value indicating the number
of server devices. </dd>

<dt><b>AuServerNumBuckets</b>(<i>server</i>)</dt>
<dd>Accesses the int value indicating
the number of server buckets. </dd>

<dt><b>AuServerFormat</b>(<i>server</i>, <i>n</i>)</dt>
<dd>Accesses the int
value of the <i>n</i>'th format supported by the server. </dd>

<dt><b>AuServerElementType</b>(<i>server</i>,
<i>n</i>)</dt>
<dd>Accesses the int value of the <i>n</i>'th element supported by the server. </dd>

<dt><b>AuServerWaveForm</b>(<i>server</i>,
<i>n</i>)</dt>
<dd>Accesses the int value of the <i>n</i>'th waveform supported by the server. </dd>

<dt><b>AuServerAction</b>(<i>server</i>,
<i>n</i>)</dt>
<dd>Accesses the int value of the <i>n</i>'th action supported by the server. </dd>

<dt><b>AuServerDevice</b>(<i>server</i>,
<i>n</i>)</dt>
<dd>Accesses the <b>AuDeviceAttributes</b> structure of the <i>n</i>'th server device. </dd>

<dt><b>AuServerBucket</b>(<i>server</i>,
<i>n</i>)</dt>
<dd>Accesses the <b>AuBucketAttributes</b> structure of the <i>n</i>'th server bucket. </dd>

<dt><b>AuClientOfID</b>(<i>server</i>,
<i>resource</i>)</dt>
<dd>Extracts the ClientID from <i>resource</i>. </dd>

<dt><b>AuID</b> <b>AuAllocID</b>(<i>server</i>)</dt>
<dd>Invokes
the ID allocator function. </dd>
</dl>

<h2><a name='sect3' href='#toc3'><b>Description</b></a></h2>
The <b>AuServer</b> structure describes the
connection to the audio server. 
<h2><a name='sect4' href='#toc4'><b>See Also</b></a></h2>
<b>AuCloseServer. <p>
</b>audiolib - <b>Network
Audio 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'>Structures</a></li>
<li><a name='toc2' href='#sect2'>Macros</a></li>
<li><a name='toc3' href='#sect3'>Description</a></li>
<li><a name='toc4' href='#sect4'>See Also</a></li>
</ul>
</body>
</html>