3
$NCDId: @(#)AuMElSum.man,v 1.1 1994/09/27 00:32:45 greg Exp $
4
copyright 1994 Steven King
7
* Copyright 1993 Network Computing Devices, Inc.
9
* Permission to use, copy, modify, distribute, and sell this software and its
10
* documentation for any purpose is hereby granted without fee, provided that
11
* the above copyright notice appear in all copies and that both that
12
* copyright notice and this permission notice appear in supporting
13
* documentation, and that the name Network Computing Devices, Inc. not be
14
* used in advertising or publicity pertaining to distribution of this
15
* software without specific, written prior permission.
17
* THIS SOFTWARE IS PROVIDED 'AS-IS'. NETWORK COMPUTING DEVICES, INC.,
18
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT
19
* LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20
* PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT SHALL NETWORK
21
* COMPUTING DEVICES, INC., BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING
22
* SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA,
23
* OR PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF
24
* WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN
25
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27
$Id: AuMakeElementSum.3.html 243 2007-04-07 23:13:43Z jon $
30
<!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
31
<!-- available at http://polyglotman.sourceforge.net/ -->
35
<title>AuMakeElementSum(3) manual page</title>
37
<body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
38
<a href='#toc'>Table of Contents</a><p>
40
<h2><a name='sect0' href='#toc0'><b>Name</b></a></h2>
41
<b>AuMakeElementSum</b> - initialize an Sum element
43
<h2><a name='sect1' href='#toc1'><b>Synopsis</b></a></h2>
44
#include <audio/audiolib.h> <p>
45
<b>AuMakeElementSum</b>(<i>element</i>, <i>num_inputs</i>,
47
<b>AuElement</b> *<i>element</i>; /* <b>RETURN</b> */<br>
49
unsigned short <i>num_inputs</i>;<br>
51
unsigned short *<i>inputs</i>;<br>
53
<h2><a name='sect2' href='#toc2'><b>Arguments</b></a></h2>
57
<dt><i>element</i></dt>
58
<dd>Returns the initialized element. </dd>
60
<dt><i>num_inputs</i></dt>
62
number of inputs. </dd>
64
<dt><i>inputs</i></dt>
65
<dd>Specifies the list of inputs. Each entry in the list
66
is an index of an element that will supply audio data to this element. </dd>
69
<h2><a name='sect3' href='#toc3'><b>Description</b></a></h2>
70
<b>AuMakeElementSum</b>
71
sets the <i>type</i> member of <i>element</i> to <b>AuElementTypeSum</b> and initializes the
72
<i>sum</i> member of <i>element</i> with the remaining arguments. <p>
73
<b>AuMakeElementSum</b> is
74
implemented as a macro.
75
<h2><a name='sect4' href='#toc4'><b>See Also</b></a></h2>
76
<b>AuMakeElementAddConstant</b>, <b>AuMakeElementBundle</b>,
77
<b>AuMakeElementExportBucket</b>, <b>AuMakeElementExportClient</b>, <b>AuMakeElementExportDevice</b>,
78
<b>AuMakeElementExportMonitor</b>, <b>AuMakeElementImportBucket</b>, <b>AuMakeElementImportClient</b>,
79
<b>AuMakeElementImportDevice</b>, <b>AuMakeElementImportWaveForm</b>, <b>AuMakeElementMultiplyConstant</b>.
81
audiolib - <b>Network Audio System</b> C Language Interface <p>
84
<a name='toc'><b>Table of Contents</b></a><p>
86
<li><a name='toc0' href='#sect0'>Name</a></li>
87
<li><a name='toc1' href='#sect1'>Synopsis</a></li>
88
<li><a name='toc2' href='#sect2'>Arguments</a></li>
89
<li><a name='toc3' href='#sect3'>Description</a></li>
90
<li><a name='toc4' href='#sect4'>See Also</a></li>