summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer_v1.0/doc/html/sample_8hcc.html
blob: bbe85aa1533e230813856121bc4c58d7d333ac5d (plain)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Graphic Equalizer: C:/Project  Marcel &amp; Oliver/Graphic_Equalizer/src/sample.hcc File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">C:</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">Project  Marcel &amp; Oliver</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">Graphic_Equalizer</a>&nbsp;/&nbsp;<a class="el" href="dir_000004.html">src</a></div>
<h1>sample.hcc File Reference</h1><code>#include "<a class="el" href="sample_8hch-source.html">sample.hch</a>"</code><br>

<p>
Include dependency graph for sample.hcc:<p><center><img src="sample_8hcc__incl.png" border="0" usemap="#sample.hcc_map" alt="Include dependency graph"></center>
<map name="sample.hcc_map">
<area href="sample_8hch.html" shape="rect" coords="8,7,98,34" alt="">
</map>

<p>
<a href="sample_8hcc-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sample_8hcc.html#a2">sample_add</a> (signed 16 in_sample)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This procedure adds the supplied sample to the input buffer.  <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sample_8hcc.html#a3">sample_get</a> (signed 16 *out_sample)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This procedure gets the sample from the current output buffer.  <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sample_8hcc.html#a4">sample_rotate_buffers</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This procedure rotates our buffers around if 64 samples are read into our current buffer.  <a href="#a4"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
Audiodriver API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
 <dl compact><dt><b>Author:</b></dt><dd>O.M. Schinagl </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>20041021 </dd></dl>
<dl compact><dt><b>Version:</b></dt><dd>0.1</dd></dl>
<h2><a class="anchor" name="copyright">
Copyright</a></h2>
Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved<h2><a class="anchor" name="history">
Change history</a></h2>
20041021: O.M. Schinagl<br>
 Initial version
<p>
Definition in file <a class="el" href="sample_8hcc-source.html">sample.hcc</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="a2" doxytag="sample.hcc::sample_add"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void sample_add           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">signed 16&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>in_sample</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This procedure adds the supplied sample to the input buffer. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>signed</em>&nbsp;</td><td>16 in_sample 16 bits signed sample to be added.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>void</em>&nbsp;</td><td></td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="sample_8hcc-source.html#l00046">46</a> of file <a class="el" href="sample_8hcc-source.html">sample.hcc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="sample.hcc::sample_get"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void sample_get           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">signed 16 *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>out_sample</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This procedure gets the sample from the current output buffer. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>*</em>&nbsp;</td><td>in_sample pointer to storage for sample.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>void</em>&nbsp;</td><td></td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="sample_8hcc-source.html#l00065">65</a> of file <a class="el" href="sample_8hcc-source.html">sample.hcc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="sample.hcc::sample_rotate_buffers"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">unsigned sample_rotate_buffers           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This procedure rotates our buffers around if 64 samples are read into our current buffer. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>in_sample</em>&nbsp;</td><td>16 bits signed sample to be added.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>1 when 64 samples have passed, 0 otherwise. </dd></dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unsigned</em>&nbsp;</td><td>1; </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="sample_8hcc-source.html#l00084">84</a> of file <a class="el" href="sample_8hcc-source.html">sample.hcc</a>.    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 10:53:30 2004 for Graphic Equalizer by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>