summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/doc
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-12-09 13:10:12 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-12-09 13:10:12 (GMT)
commit5556372954890b2db01935c771c9c47d189bb761 (patch)
treed4f0c0e5f519a89def8e38d523cc2bb864e8dc87 /Graphic_Equalizer/doc
parent1ea117c6702d99249704d5f9acbea00e88df30a7 (diff)
downloadTASS-5556372954890b2db01935c771c9c47d189bb761.zip
TASS-5556372954890b2db01935c771c9c47d189bb761.tar.gz
TASS-5556372954890b2db01935c771c9c47d189bb761.tar.bz2
Regenerated Documentation
Diffstat (limited to 'Graphic_Equalizer/doc')
-rw-r--r--Graphic_Equalizer/doc/html/audio_8hcc-source.html62
-rw-r--r--Graphic_Equalizer/doc/html/audio_8hcc.html10
-rw-r--r--Graphic_Equalizer/doc/html/audio_8hch-source.html36
-rw-r--r--Graphic_Equalizer/doc/html/audio_8hch.html318
-rw-r--r--Graphic_Equalizer/doc/html/configuration_8hch-source.html132
-rw-r--r--Graphic_Equalizer/doc/html/configuration_8hch.html199
-rw-r--r--Graphic_Equalizer/doc/html/dir_000000.html6
-rw-r--r--Graphic_Equalizer/doc/html/dir_000001.html6
-rw-r--r--Graphic_Equalizer/doc/html/dir_000002.html6
-rw-r--r--Graphic_Equalizer/doc/html/dir_000003.html17
-rw-r--r--Graphic_Equalizer/doc/html/dir_000004.html6
-rw-r--r--Graphic_Equalizer/doc/html/display_8hcc-source.html569
-rw-r--r--Graphic_Equalizer/doc/html/display_8hcc.html112
-rw-r--r--Graphic_Equalizer/doc/html/display_8hcc__incl.map9
-rw-r--r--Graphic_Equalizer/doc/html/display_8hcc__incl.md52
-rw-r--r--Graphic_Equalizer/doc/html/display_8hcc__incl.pngbin3327 -> 3637 bytes
-rw-r--r--Graphic_Equalizer/doc/html/display_8hch-source.html53
-rw-r--r--Graphic_Equalizer/doc/html/display_8hch.html256
-rw-r--r--Graphic_Equalizer/doc/html/display__shared_8hch-source.html99
-rw-r--r--Graphic_Equalizer/doc/html/display__shared_8hch.html661
-rw-r--r--Graphic_Equalizer/doc/html/eventhandler_8hcc-source.html484
-rw-r--r--Graphic_Equalizer/doc/html/eventhandler_8hcc.html90
-rw-r--r--Graphic_Equalizer/doc/html/eventhandler_8hch-source.html34
-rw-r--r--Graphic_Equalizer/doc/html/eventhandler_8hch.html119
-rw-r--r--Graphic_Equalizer/doc/html/eventhandler__shared_8hch-source.html87
-rw-r--r--Graphic_Equalizer/doc/html/eventhandler__shared_8hch.html297
-rw-r--r--Graphic_Equalizer/doc/html/events_8hcc-source.html80
-rw-r--r--Graphic_Equalizer/doc/html/events_8hcc.html126
-rw-r--r--Graphic_Equalizer/doc/html/events_8hcc__incl.map4
-rw-r--r--Graphic_Equalizer/doc/html/events_8hcc__incl.md52
-rw-r--r--Graphic_Equalizer/doc/html/events_8hcc__incl.pngbin2290 -> 2785 bytes
-rw-r--r--Graphic_Equalizer/doc/html/events_8hch-source.html10
-rw-r--r--Graphic_Equalizer/doc/html/events_8hch.html56
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc-source.html817
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc.html279
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc__incl.map3
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc__incl.md52
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc__incl.pngbin2814 -> 2759 bytes
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.map3
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.md52
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.pngbin560 -> 745 bytes
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hch-source.html48
-rw-r--r--Graphic_Equalizer/doc/html/files.html17
-rw-r--r--Graphic_Equalizer/doc/html/globals.html196
-rw-r--r--Graphic_Equalizer/doc/html/globals_func.html25
-rw-r--r--Graphic_Equalizer/doc/html/graph_legend.html6
-rw-r--r--Graphic_Equalizer/doc/html/index.html2
-rw-r--r--Graphic_Equalizer/doc/html/main.html8
-rw-r--r--Graphic_Equalizer/doc/html/main_8hcc-source.html205
-rw-r--r--Graphic_Equalizer/doc/html/main_8hcc.html57
-rw-r--r--Graphic_Equalizer/doc/html/main_8hcc__incl.map4
-rw-r--r--Graphic_Equalizer/doc/html/main_8hcc__incl.md52
-rw-r--r--Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.map8
-rw-r--r--Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.md52
-rw-r--r--Graphic_Equalizer/doc/html/mouse_8hcc-source.html18
-rw-r--r--Graphic_Equalizer/doc/html/mouse_8hcc.html14
-rw-r--r--Graphic_Equalizer/doc/html/mouse_8hch-source.html12
-rw-r--r--Graphic_Equalizer/doc/html/mouse_8hch.html79
-rw-r--r--Graphic_Equalizer/doc/html/mouse__shared_8hch-source.html30
-rw-r--r--Graphic_Equalizer/doc/html/mouse__shared_8hch.html210
-rw-r--r--Graphic_Equalizer/doc/html/runfft_8hcc-source.html290
-rw-r--r--Graphic_Equalizer/doc/html/runfft_8hcc.html8
-rw-r--r--Graphic_Equalizer/doc/html/runfft_8hch-source.html8
-rw-r--r--Graphic_Equalizer/doc/html/smartmedia_8hcc-source.html294
-rw-r--r--Graphic_Equalizer/doc/html/smartmedia_8hcc.html30
-rw-r--r--Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.map11
-rw-r--r--Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.md52
-rw-r--r--Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.pngbin3733 -> 4097 bytes
-rw-r--r--Graphic_Equalizer/doc/html/smartmedia_8hch-source.html97
-rw-r--r--Graphic_Equalizer/doc/html/smartmedia_8hch.html289
-rw-r--r--Graphic_Equalizer/doc/html/tree.html65
-rw-r--r--Graphic_Equalizer/doc/html/weights__256_8hch-source.html14
72 files changed, 5017 insertions, 2088 deletions
diff --git a/Graphic_Equalizer/doc/html/audio_8hcc-source.html b/Graphic_Equalizer/doc/html/audio_8hcc-source.html
index cd71b7f..31e5045 100644
--- a/Graphic_Equalizer/doc/html/audio_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/audio_8hcc-source.html
@@ -1,10 +1,10 @@
<!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/audio.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/audio.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>audio.hcc</h1><a href="audio_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
@@ -34,35 +34,35 @@
00057
00058
00059 <span class="preprocessor">#if !USE_RUNFFT</span>
-00060 <span class="preprocessor"></span>
-<a name="l00075"></a><a class="code" href="audio_8hcc.html#a1">00075</a> macro proc <a class="code" href="audio_8hcc.html#a1">audio_main</a>(audiodata, AUDIOIN, AUDIOOUT) {
-00076 <span class="comment">/*</span>
-00077 <span class="comment"> * Determin the data width for the current platform.</span>
-00078 <span class="comment"> */</span>
-00079 macro expr IW = PalAudioInGetMaxDataWidthCT();
-00080 macro expr OW = PalAudioOutGetMaxDataWidthCT();
-00081
-00082 <span class="keywordtype">signed</span> IW sample_left_in, sample_right_in;
-00083 <span class="keywordtype">signed</span> OW sample_left_out, sample_right_out;
-00084
-00085 <span class="keywordflow">while</span> (TRUE) {
-00086 PalAudioInRead(AUDIOIN, &amp;sample_left_in, &amp;sample_right_in);
-00087
-00088 <span class="comment">/* par {</span>
-00089 <span class="comment"> sample_add(sample_left_in);</span>
-00090 <span class="comment"> sample_get(&amp;sample_left_out);</span>
-00091 <span class="comment"> sample_right_out = sample_right_in;</span>
-00092 <span class="comment"> }</span>
-00093 <span class="comment"> if (rotate_samples()) {</span>
-00094 <span class="comment"> / *</span>
-00095 <span class="comment"> * 64 Samples have been processed, calculate.</span>
-00096 <span class="comment"> * /</span>
-00097 <span class="comment"> }</span>
-00098 <span class="comment">*/</span> PalAudioOutWrite(AUDIOOUT, (<span class="keywordtype">signed</span> OW)(sample_left_in @ 0), (<span class="keywordtype">signed</span> OW)(sample_right_in @ 0));
-00099 }
-00100 } <span class="comment">/* --- audio_main() --- */</span>
-00101 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+00060 <span class="preprocessor"></span><span class="comment">//TODO: put runfft here!</span>
+<a name="l00076"></a><a class="code" href="audio_8hcc.html#a1">00076</a> <span class="comment"></span>macro proc <a class="code" href="audio_8hcc.html#a1">audio_main</a>(audiodata, AUDIOIN, AUDIOOUT) {
+00077 <span class="comment">/*</span>
+00078 <span class="comment"> * Determin the data width for the current platform.</span>
+00079 <span class="comment"> */</span>
+00080 macro expr IW = PalAudioInGetMaxDataWidthCT();
+00081 macro expr OW = PalAudioOutGetMaxDataWidthCT();
+00082
+00083 <span class="keywordtype">signed</span> IW sample_left_in, sample_right_in;
+00084 <span class="keywordtype">signed</span> OW sample_left_out, sample_right_out;
+00085
+00086 <span class="keywordflow">while</span> (TRUE) {
+00087 PalAudioInRead(AUDIOIN, &amp;sample_left_in, &amp;sample_right_in);
+00088
+00089 <span class="comment">/* par {</span>
+00090 <span class="comment"> sample_add(sample_left_in);</span>
+00091 <span class="comment"> sample_get(&amp;sample_left_out);</span>
+00092 <span class="comment"> sample_right_out = sample_right_in;</span>
+00093 <span class="comment"> }</span>
+00094 <span class="comment"> if (rotate_samples()) {</span>
+00095 <span class="comment"> / *</span>
+00096 <span class="comment"> * 64 Samples have been processed, calculate.</span>
+00097 <span class="comment"> * /</span>
+00098 <span class="comment"> }</span>
+00099 <span class="comment">*/</span> PalAudioOutWrite(AUDIOOUT, (<span class="keywordtype">signed</span> OW)(sample_left_in @ 0), (<span class="keywordtype">signed</span> OW)(sample_right_in @ 0));
+00100 }
+00101 } <span class="comment">/* --- audio_main() --- */</span>
+00102 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/audio_8hcc.html b/Graphic_Equalizer/doc/html/audio_8hcc.html
index 968943b..6714b73 100644
--- a/Graphic_Equalizer/doc/html/audio_8hcc.html
+++ b/Graphic_Equalizer/doc/html/audio_8hcc.html
@@ -1,10 +1,10 @@
<!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/audio.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/audio.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>audio.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
@@ -32,7 +32,7 @@ Include dependency graph for audio.hcc:<p><center><img src="audio_8hcc__incl.png
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -178,12 +178,12 @@ Main audiodriver. This function never returns! It calls the audiohandlers and st
</dl>
<p>
-Definition at line <a class="el" href="audio_8hcc-source.html#l00075">75</a> of file <a class="el" href="audio_8hcc-source.html">audio.hcc</a>.
+Definition at line <a class="el" href="audio_8hcc-source.html#l00076">76</a> of file <a class="el" href="audio_8hcc-source.html">audio.hcc</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:49 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:14 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/audio_8hch-source.html b/Graphic_Equalizer/doc/html/audio_8hch-source.html
index 8e26033..2229de5 100644
--- a/Graphic_Equalizer/doc/html/audio_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/audio_8hch-source.html
@@ -1,20 +1,20 @@
<!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/include/audio.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/audio.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>audio.hch</h1><a href="audio_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _AUDIO_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _AUDIO_HCH 1</span>
+<a name="l00020"></a><a class="code" href="audio_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _AUDIO_HCH 1</span>
00021 <span class="preprocessor"></span>
00022 <span class="comment">/*</span>
00023 <span class="comment"> * Type definition of the shared memory to be used in various processes</span>
00024 <span class="comment"> */</span>
-00025 <span class="keyword">typedef</span> <span class="keyword">struct </span>{
+<a name="l00025"></a><a class="code" href="structaudiodata__t.html">00025</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
00026 mpram {
00027 ram <span class="keywordtype">unsigned</span> 7 write[256];
00028 rom <span class="keywordtype">unsigned</span> 7 read[256];
@@ -23,9 +23,9 @@
00031 ram <span class="keywordtype">unsigned</span> 6 write[256];
00032 rom <span class="keywordtype">unsigned</span> 6 read[256];
00033 } ifft_info with { block = <span class="stringliteral">"BlockRAM"</span>};
-00034 <span class="keywordtype">unsigned</span> 4 *equalizer_levels_ptr;
-00035 <span class="keywordtype">unsigned</span> 1 display_log;
-00036 } audiodata_t;
+<a name="l00034"></a><a class="code" href="structaudiodata__t.html#o0">00034</a> <span class="keywordtype">unsigned</span> 4 *equalizer_levels_ptr;
+<a name="l00035"></a><a class="code" href="structaudiodata__t.html#o1">00035</a> <span class="keywordtype">unsigned</span> 1 display_log;
+00036 } <a class="code" href="structaudiodata__t.html">audiodata_t</a>;
00037
00038
00039
@@ -33,28 +33,28 @@
00041 <span class="comment">/*</span>
00042 <span class="comment"> * States used to indicate wether audio data is sampled.</span>
00043 <span class="comment"> */</span>
-00044 <span class="preprocessor">#define AUDIO_NOT_READY 0</span>
-00045 <span class="preprocessor"></span><span class="preprocessor">#define AUDIO_READY 1</span>
+<a name="l00044"></a><a class="code" href="audio_8hch.html#a1">00044</a> <span class="preprocessor">#define AUDIO_NOT_READY 0</span>
+<a name="l00045"></a><a class="code" href="audio_8hch.html#a2">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define AUDIO_READY 1</span>
00046 <span class="preprocessor"></span>
00047
00048
00049 <span class="comment">/*</span>
00050 <span class="comment"> * Line in or Mic in aliases for audio_init.</span>
00051 <span class="comment"> */</span>
-00052 <span class="preprocessor">#define LINE_IN RC200AudioInLineIn</span>
-00053 <span class="preprocessor"></span><span class="preprocessor">#define MIC_IN RC200AudioInMicrophone</span>
+<a name="l00052"></a><a class="code" href="audio_8hch.html#a3">00052</a> <span class="preprocessor">#define LINE_IN RC200AudioInLineIn</span>
+<a name="l00053"></a><a class="code" href="audio_8hch.html#a4">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define MIC_IN RC200AudioInMicrophone</span>
00054 <span class="preprocessor"></span>
00055
00056
00057 <span class="comment">/*</span>
00058 <span class="comment"> * Sample Rate Aliases for audio_init.</span>
00059 <span class="comment"> */</span>
-00060 <span class="preprocessor">#define SR_8000 RC200AudioSampleRate8000</span>
-00061 <span class="preprocessor"></span><span class="preprocessor">#define SR_11025 RC200AudioSampleRate11025</span>
-00062 <span class="preprocessor"></span><span class="preprocessor">#define SR_16000 RC200AudioSampleRate16000</span>
-00063 <span class="preprocessor"></span><span class="preprocessor">#define SR_22050 RC200AudioSampleRate22050</span>
-00064 <span class="preprocessor"></span><span class="preprocessor">#define SR_44100 RC200AudioSampleRate44100</span>
-00065 <span class="preprocessor"></span><span class="preprocessor">#define SR_48000 RC200AudioSampleRate48000</span>
+<a name="l00060"></a><a class="code" href="audio_8hch.html#a5">00060</a> <span class="preprocessor">#define SR_8000 RC200AudioSampleRate8000</span>
+<a name="l00061"></a><a class="code" href="audio_8hch.html#a6">00061</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_11025 RC200AudioSampleRate11025</span>
+<a name="l00062"></a><a class="code" href="audio_8hch.html#a7">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_16000 RC200AudioSampleRate16000</span>
+<a name="l00063"></a><a class="code" href="audio_8hch.html#a8">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_22050 RC200AudioSampleRate22050</span>
+<a name="l00064"></a><a class="code" href="audio_8hch.html#a9">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_44100 RC200AudioSampleRate44100</span>
+<a name="l00065"></a><a class="code" href="audio_8hch.html#a10">00065</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_48000 RC200AudioSampleRate48000</span>
00066 <span class="preprocessor"></span>
00067
00068
@@ -77,7 +77,7 @@
00085 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file audio.hch multiple times included"</span>
00086 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _AUDIO_HCH --- */</span>
00087
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:46 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:08 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/audio_8hch.html b/Graphic_Equalizer/doc/html/audio_8hch.html
index 629afd7..68e9145 100644
--- a/Graphic_Equalizer/doc/html/audio_8hch.html
+++ b/Graphic_Equalizer/doc/html/audio_8hch.html
@@ -1,10 +1,10 @@
<!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/include/audio.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/audio.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>audio.hch File Reference</h1>
@@ -22,6 +22,32 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="audio_8hch-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>Data Structures</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structaudiodata__t.html">audiodata_t</a></td></tr>
+
+<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a0">_AUDIO_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a1">AUDIO_NOT_READY</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a2">AUDIO_READY</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a3">LINE_IN</a>&nbsp;&nbsp;&nbsp;RC200AudioInLineIn</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a4">MIC_IN</a>&nbsp;&nbsp;&nbsp;RC200AudioInMicrophone</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a5">SR_8000</a>&nbsp;&nbsp;&nbsp;RC200AudioSampleRate8000</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a6">SR_11025</a>&nbsp;&nbsp;&nbsp;RC200AudioSampleRate11025</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a7">SR_16000</a>&nbsp;&nbsp;&nbsp;RC200AudioSampleRate16000</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a8">SR_22050</a>&nbsp;&nbsp;&nbsp;RC200AudioSampleRate22050</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a9">SR_44100</a>&nbsp;&nbsp;&nbsp;RC200AudioSampleRate44100</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a10">SR_48000</a>&nbsp;&nbsp;&nbsp;RC200AudioSampleRate48000</td></tr>
+
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">macro proc&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio_8hch.html#a11">audio_init</a> (gain_level, input_source, sample_rate, AUDIOIN, AUDIOOUT)</td></tr>
@@ -32,7 +58,7 @@ This graph shows which files directly or indirectly include this file:<p><center
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -46,7 +72,287 @@ Change history</a></h2>
20041021: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="audio_8hch-source.html">audio.hch</a>.<hr><h2>Function Documentation</h2>
+Definition in file <a class="el" href="audio_8hch-source.html">audio.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="audio.hch::_AUDIO_HCH"></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">#define _AUDIO_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00020">20</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="audio.hch::AUDIO_NOT_READY"></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">#define AUDIO_NOT_READY&nbsp;&nbsp;&nbsp;0 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00044">44</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="audio.hch::AUDIO_READY"></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">#define AUDIO_READY&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00045">45</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="audio.hch::LINE_IN"></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">#define LINE_IN&nbsp;&nbsp;&nbsp;RC200AudioInLineIn </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00052">52</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>.
+<p>
+Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="audio.hch::MIC_IN"></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">#define MIC_IN&nbsp;&nbsp;&nbsp;RC200AudioInMicrophone </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00053">53</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a5" doxytag="audio.hch::SR_8000"></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">#define SR_8000&nbsp;&nbsp;&nbsp;RC200AudioSampleRate8000 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00060">60</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a6" doxytag="audio.hch::SR_11025"></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">#define SR_11025&nbsp;&nbsp;&nbsp;RC200AudioSampleRate11025 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00061">61</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a7" doxytag="audio.hch::SR_16000"></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">#define SR_16000&nbsp;&nbsp;&nbsp;RC200AudioSampleRate16000 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00062">62</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a8" doxytag="audio.hch::SR_22050"></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">#define SR_22050&nbsp;&nbsp;&nbsp;RC200AudioSampleRate22050 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00063">63</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a9" doxytag="audio.hch::SR_44100"></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">#define SR_44100&nbsp;&nbsp;&nbsp;RC200AudioSampleRate44100 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00064">64</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>.
+<p>
+Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a10" doxytag="audio.hch::SR_48000"></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">#define SR_48000&nbsp;&nbsp;&nbsp;RC200AudioSampleRate48000 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="audio_8hch-source.html#l00065">65</a> of file <a class="el" href="audio_8hch-source.html">audio.hch</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
<a class="anchor" name="a11" doxytag="audio.hch::audio_init"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -178,12 +484,12 @@ Main audiodriver. This function never returns! It calls the audiohandlers and st
</dl>
<p>
-Definition at line <a class="el" href="audio_8hcc-source.html#l00075">75</a> of file <a class="el" href="audio_8hcc-source.html">audio.hcc</a>.
+Definition at line <a class="el" href="audio_8hcc-source.html#l00076">76</a> of file <a class="el" href="audio_8hcc-source.html">audio.hcc</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:10 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/configuration_8hch-source.html b/Graphic_Equalizer/doc/html/configuration_8hch-source.html
index 511c82c..aa822f4 100644
--- a/Graphic_Equalizer/doc/html/configuration_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/configuration_8hch-source.html
@@ -1,112 +1,52 @@
<!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/include/configuration.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/configuration.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>configuration.hch</h1><a href="configuration_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _CONFIGURATION_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _CONFIGURATION_HCH 1</span>
+<a name="l00020"></a><a class="code" href="configuration_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _CONFIGURATION_HCH 1</span>
00021 <span class="preprocessor"></span>
-00022 <span class="comment">/*</span>
-00023 <span class="comment"> * To print debug information on the RS232 port set this define.</span>
-00024 <span class="comment"> */</span>
-00025 <span class="preprocessor">#define HAVE_DEBUG 1</span>
-00026 <span class="preprocessor"></span>
-00027
-00028
-00029 <span class="comment">/*</span>
-00030 <span class="comment"> * If we don't want to use the SmartMedia (and therefor fill the memory</span>
-00031 <span class="comment"> * with simple static data) set this to 0. Otherwise 1 will load the smartmedia</span>
-00032 <span class="comment"> * routines. To only load the mask and not the entire data set USE_MASK_ONLY to</span>
-00033 <span class="comment"> * 1. 0 will load all bitmaps.</span>
-00034 <span class="comment"> */</span>
-00035 <span class="preprocessor">#define HAVE_SMARTMEDIA 0</span>
-00036 <span class="preprocessor"></span><span class="preprocessor">#define USE_MASK_ONLY 0</span>
-00037 <span class="preprocessor"></span><span class="preprocessor">#define SKIP_LOAD 1</span>
-00038 <span class="preprocessor"></span>
+00022
+00023
+00024 <span class="comment">/*</span>
+00025 <span class="comment"> * To print debug information on the RS232 port set this define.</span>
+00026 <span class="comment"> */</span>
+<a name="l00027"></a><a class="code" href="configuration_8hch.html#a1">00027</a> <span class="preprocessor">#define HAVE_DEBUG 0</span>
+00028 <span class="preprocessor"></span>
+00029
+00030
+00031 <span class="comment">/*</span>
+00032 <span class="comment"> * If we don't want to use the SmartMedia set this to 0. Data is then read from</span>
+00033 <span class="comment"> * the ram, assuming it's there. Otherwise 1 will load the smartmedia</span>
+00034 <span class="comment"> * routines.</span>
+00035 <span class="comment"> */</span>
+<a name="l00036"></a><a class="code" href="configuration_8hch.html#a2">00036</a> <span class="preprocessor">#define HAVE_SMARTMEDIA 0</span>
+00037 <span class="preprocessor"></span>
+00038
00039
-00040
-00041 <span class="comment">/*</span>
-00042 <span class="comment"> * Here we set the various sizes of the data in use. Do not round this values</span>
-00043 <span class="comment"> * in anyway! For example, 640 pixels times 480 pixels is 307200 (4b000) pixels</span>
-00044 <span class="comment"> * total.</span>
-00045 <span class="comment"> */</span>
-00046 <span class="preprocessor">#define SIZE_SKIN 0x04afff</span>
-00047 <span class="preprocessor"></span><span class="preprocessor">#define SIZE_HELP 0x04afff</span>
-00048 <span class="preprocessor"></span><span class="preprocessor">#define SIZE_GRAPH 0x04afff</span>
-00049 <span class="preprocessor"></span><span class="preprocessor">#define SIZE_SKINMASK 0x018fff</span>
-00050 <span class="preprocessor"></span><span class="preprocessor">#define SIZE_HELPMASK 0x018fff</span>
-00051 <span class="preprocessor"></span><span class="preprocessor">#define SIZE_GRAPHMASK 0x018fff</span>
-00052 <span class="preprocessor"></span>
-00053 <span class="preprocessor">#define SIZE_PRESET 0x0001c0</span>
-00054 <span class="preprocessor"></span>
+00040 <span class="comment">/*</span>
+00041 <span class="comment"> * FFT specific. TODO: Clean Up!</span>
+00042 <span class="comment"> */</span>
+<a name="l00043"></a><a class="code" href="configuration_8hch.html#a3">00043</a> <span class="preprocessor">#define USE_RUNFFT 1</span>
+<a name="l00044"></a><a class="code" href="configuration_8hch.html#a4">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define HARDWARE_MULTIPLY 1</span>
+<a name="l00045"></a><a class="code" href="configuration_8hch.html#a5">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define PERFORM_FFT_CALCULATION 1</span>
+<a name="l00046"></a><a class="code" href="configuration_8hch.html#a6">00046</a> <span class="preprocessor"></span><span class="preprocessor">#define USE_UNSIGNED_AUDIO 0</span>
+00047 <span class="preprocessor"></span>
+00048 <span class="comment">/*</span>
+00049 <span class="comment">FIXME: DK doesn't override from commandline defines. We have to therefore</span>
+00050 <span class="comment"> ignore this include guard until we can find around this.</span>
+00051 <span class="comment">#else</span>
+00052 <span class="comment">#error "ERROR file configuration.hch multiple times included"</span>
+00053 <span class="comment">*/</span>
+00054 <span class="preprocessor">#endif </span><span class="comment">/* --- _CONFIGURATION_HCH --- */</span>
00055
00056
-00057 <span class="comment">/*</span>
-00058 <span class="comment"> * Here we setup the start and end address for the various components.</span>
-00059 <span class="comment"> */</span>
-00060 <span class="preprocessor">#define ADDRESS_SKIN_START 0x000000</span>
-00061 <span class="preprocessor"></span><span class="preprocessor">#define ADDRESS_SKIN_END (ADDRESS_SKIN_START +SIZE_SKIN)</span>
-00062 <span class="preprocessor"></span>
-00063 <span class="preprocessor">#define ADDRESS_HELP_START 0x04b000</span>
-00064 <span class="preprocessor"></span><span class="preprocessor">#define ADDRESS_HELP_END (ADDRESS_HELP_START +SIZE_HELP)</span>
-00065 <span class="preprocessor"></span>
-00066 <span class="preprocessor">#define ADDRESS_GRAPHMASK_START 0x096000</span>
-00067 <span class="preprocessor"></span><span class="preprocessor">#define ADDRESS_GRAPHMASK_END (ADDRESS_GRAPHMASK_START +SIZE_GRAPH)</span>
-00068 <span class="preprocessor"></span>
-00069 <span class="preprocessor">#define ADDRESS_PRESET_DEMO_START 0x0e1000</span>
-00070 <span class="preprocessor"></span><span class="preprocessor">#define ADDRESS_PRESET_DEMO_END (ADDRESS_PRESET_DEMO_START +SIZE_PRESET)</span>
-00071 <span class="preprocessor"></span><span class="preprocessor">#define ADDRESS_PRESET_RESET_START 0x0e11c0</span>
-00072 <span class="preprocessor"></span><span class="preprocessor">#define ADDRESS_PRESET_RESET_END (ADDRESS_PRESET_RESET_START +SIZE_PRESET)</span>
-00073 <span class="preprocessor"></span>
-00074 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_SKIN_START 0x084000 </span><span class="comment">/* Block: 33 */</span>
-00075 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_SKINMASK_START 0x168000 </span><span class="comment">/* Block: 90 */</span>
-00076 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_HELP_START 0x1b4000 </span><span class="comment">/* Block: 109 */</span>
-00077 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_HELPMASK_START 0x298000 </span><span class="comment">/* Block: 166 */</span>
-00078 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_GRAPHMASK_START 0x2e4000 </span><span class="comment">/* Block: 185 */</span>
-00079
-00080 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_PRESET_DEMO_START 0x330000 </span><span class="comment">/* Block: 204 */</span>
-00081 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_PRESET_RESET_START 0x340000 </span><span class="comment">/* Block: 205 */</span>
-00082
-00083 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_SKIN_END (SMARTMEDIA_ADDRESS_SKIN_START +(SIZE_SKIN *3))</span>
-00084 <span class="preprocessor"></span><span class="preprocessor">#define SMARTMEDIA_ADDRESS_SKINMASK_END (SMARTMEDIA_ADDRESS_SKINMASK_START +(SIZE_SKINMASK *3))</span>
-00085 <span class="preprocessor"></span><span class="preprocessor">#define SMARTMEDIA_ADDRESS_HELP_END (SMARTMEDIA_ADDRESS_HELP_START +(SIZE_HELP *3))</span>
-00086 <span class="preprocessor"></span><span class="preprocessor">#define SMARTMEDIA_ADDRESS_HELPMASK_END (SMARTMEDIA_ADDRESS_HELPMASK_START +(SIZE_HELPMASK *3))</span>
-00087 <span class="preprocessor"></span><span class="preprocessor">#define SMARTMEDIA_ADDRESS_GRAPHMASK_END (SMARTMEDIA_ADDRESS_GRAPHMASK_START +(SIZE_GRAPHMASK *3))</span>
-00088 <span class="preprocessor"></span>
-00089 <span class="preprocessor">#define SMARTMEDIA_ADDRESS_PRESET_DEMO_END (SMARTMEDIA_ADDRESS_PRESET_DEMO_START +(SIZE_PRESET))</span>
-00090 <span class="preprocessor"></span><span class="preprocessor">#define SMARTMEDIA_ADDRESS_PRESET_RESET_END (SMARTMEDIA_ADDRESS_PRESET_RESET_START +(SIZE_PRESET))</span>
-00091 <span class="preprocessor"></span>
-00092
-00093
-00094 <span class="comment">/*</span>
-00095 <span class="comment"> * FFT specific. TODO: Clean Up!</span>
-00096 <span class="comment"> */</span>
-00097 <span class="preprocessor">#define USE_RUNFFT 1</span>
-00098 <span class="preprocessor"></span><span class="preprocessor">#define HARDWARE_MULTIPLY 1</span>
-00099 <span class="preprocessor"></span><span class="preprocessor">#define NUMBER_OF_COLUMNS 8</span>
-00100 <span class="preprocessor"></span><span class="preprocessor">#define NUMBER_OF_POINTS (1&lt;&lt;NUMBER_OF_COLUMNS)</span>
-00101 <span class="preprocessor"></span><span class="preprocessor">#define NUMBER_OF_FREQUENCIES (NUMBER_OF_POINTS&gt;&gt;1)</span>
-00102 <span class="preprocessor"></span><span class="preprocessor">#define PERFORM_FFT_CALCULATION 1</span>
-00103 <span class="preprocessor"></span><span class="preprocessor">#define USE_UNSIGNED_AUDIO 0</span>
-00104 <span class="preprocessor"></span><span class="preprocessor">#define PRINT_DEBUG 0</span>
-00105 <span class="preprocessor"></span>
-00106 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00107 <span class="preprocessor"></span><span class="preprocessor">#define DC_COMPONENT 0</span>
-00108 <span class="preprocessor"></span><span class="preprocessor">#else</span>
-00109 <span class="preprocessor"></span><span class="preprocessor">#define DC_COMPONENT 8470527</span>
-00110 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
-00111 <span class="preprocessor"></span>
-00112 <span class="preprocessor">#else</span>
-00113 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file configuration.hch multiple times included"</span>
-00114 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _CONFIGURATION_HCH --- */</span>
-00115
-00116
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:46 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:08 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/configuration_8hch.html b/Graphic_Equalizer/doc/html/configuration_8hch.html
index abebe05..4501b83 100644
--- a/Graphic_Equalizer/doc/html/configuration_8hch.html
+++ b/Graphic_Equalizer/doc/html/configuration_8hch.html
@@ -1,10 +1,10 @@
<!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/include/configuration.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/configuration.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>configuration.hch File Reference</h1>
@@ -25,10 +25,25 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="configuration_8hch-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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="configuration_8hch.html#a0">_CONFIGURATION_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="configuration_8hch.html#a1">HAVE_DEBUG</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="configuration_8hch.html#a2">HAVE_SMARTMEDIA</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="configuration_8hch.html#a3">USE_RUNFFT</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="configuration_8hch.html#a4">HARDWARE_MULTIPLY</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="configuration_8hch.html#a5">PERFORM_FFT_CALCULATION</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="configuration_8hch.html#a6">USE_UNSIGNED_AUDIO</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -42,7 +57,183 @@ Change history</a></h2>
20041101: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>.<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+Definition in file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="configuration.hch::_CONFIGURATION_HCH"></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">#define _CONFIGURATION_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="configuration_8hch-source.html#l00020">20</a> of file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="configuration.hch::HAVE_DEBUG"></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">#define HAVE_DEBUG&nbsp;&nbsp;&nbsp;0 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="configuration_8hch-source.html#l00027">27</a> of file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="configuration.hch::HAVE_SMARTMEDIA"></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">#define HAVE_SMARTMEDIA&nbsp;&nbsp;&nbsp;0 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="configuration_8hch-source.html#l00036">36</a> of file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="configuration.hch::USE_RUNFFT"></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">#define USE_RUNFFT&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="configuration_8hch-source.html#l00043">43</a> of file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="configuration.hch::HARDWARE_MULTIPLY"></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">#define HARDWARE_MULTIPLY&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="configuration_8hch-source.html#l00044">44</a> of file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a5" doxytag="configuration.hch::PERFORM_FFT_CALCULATION"></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">#define PERFORM_FFT_CALCULATION&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="configuration_8hch-source.html#l00045">45</a> of file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a6" doxytag="configuration.hch::USE_UNSIGNED_AUDIO"></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">#define USE_UNSIGNED_AUDIO&nbsp;&nbsp;&nbsp;0 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="configuration_8hch-source.html#l00046">46</a> of file <a class="el" href="configuration_8hch-source.html">configuration.hch</a>. </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:10 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/dir_000000.html b/Graphic_Equalizer/doc/html/dir_000000.html
index 26f6e06..890952f 100644
--- a/Graphic_Equalizer/doc/html/dir_000000.html
+++ b/Graphic_Equalizer/doc/html/dir_000000.html
@@ -1,10 +1,10 @@
<!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:/ Directory Reference</title>
+<title>Graphic Equalizer 2: C:/ Directory 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">C:</a></div>
<h1>C: Directory Reference</h1><table border="0" cellpadding="0" cellspacing="0">
@@ -13,7 +13,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000001.html">Project Marcel &amp; Oliver</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:19 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/dir_000001.html b/Graphic_Equalizer/doc/html/dir_000001.html
index 2c63d9f..191aaab 100644
--- a/Graphic_Equalizer/doc/html/dir_000001.html
+++ b/Graphic_Equalizer/doc/html/dir_000001.html
@@ -1,10 +1,10 @@
<!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/ Directory Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/ Directory 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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></div>
<h1>Project Marcel &amp; Oliver Directory Reference</h1><table border="0" cellpadding="0" cellspacing="0">
@@ -13,7 +13,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000002.html">Graphic_Equalizer</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:19 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/dir_000002.html b/Graphic_Equalizer/doc/html/dir_000002.html
index 630b013..328b2a1 100644
--- a/Graphic_Equalizer/doc/html/dir_000002.html
+++ b/Graphic_Equalizer/doc/html/dir_000002.html
@@ -1,10 +1,10 @@
<!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/ Directory Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/ Directory 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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></div>
<h1>Graphic_Equalizer Directory Reference</h1><table border="0" cellpadding="0" cellspacing="0">
@@ -15,7 +15,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000004.html">src</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:19 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/dir_000003.html b/Graphic_Equalizer/doc/html/dir_000003.html
index 99cf285..bea5344 100644
--- a/Graphic_Equalizer/doc/html/dir_000003.html
+++ b/Graphic_Equalizer/doc/html/dir_000003.html
@@ -1,10 +1,10 @@
<!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/include/ Directory Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/ Directory 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>include Directory Reference</h1><table border="0" cellpadding="0" cellspacing="0">
@@ -18,26 +18,31 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html">display_shared.hch</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Datastructures and defines for usage when interacting with the display library. <br></td></tr>
+
+<p>
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hch.html">eventhandler.hch</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html">eventhandler_shared.hch</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hch.html">events.hch</a></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><b>fft.hch</b></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hch.html">fft.hch</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse_8hch.html">mouse.hch</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html">mouse_shared.hch</a></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><b>runfft.hch</b></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="runfft_8hch.html">runfft.hch</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html">smartmedia.hch</a></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><b>weights_256.hch</b></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia__shared_8hch.html">smartmedia_shared.hch</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="weights__256_8hch.html">weights_256.hch</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:19 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/dir_000004.html b/Graphic_Equalizer/doc/html/dir_000004.html
index dbee196..fd4a499 100644
--- a/Graphic_Equalizer/doc/html/dir_000004.html
+++ b/Graphic_Equalizer/doc/html/dir_000004.html
@@ -1,10 +1,10 @@
<!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/ Directory Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/ Directory 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>src Directory Reference</h1><table border="0" cellpadding="0" cellspacing="0">
@@ -29,7 +29,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hcc.html">smartmedia.hcc</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:19 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/display_8hcc-source.html b/Graphic_Equalizer/doc/html/display_8hcc-source.html
index e360065..c0879a2 100644
--- a/Graphic_Equalizer/doc/html/display_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/display_8hcc-source.html
@@ -1,17 +1,17 @@
<!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/display.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/display.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>display.hcc</h1><a href="display_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="comment">/*</span>
00020 <span class="comment"> * Set the Clock rate for this domain. 25.175 Mhz is required for the Video output.</span>
00021 <span class="comment"> */</span>
-00022 <span class="preprocessor">#define PAL_TARGET_CLOCK_RATE 25175000</span>
+<a name="l00022"></a><a class="code" href="display_8hcc.html#a0">00022</a> <span class="preprocessor">#define PAL_TARGET_CLOCK_RATE 25175000</span>
00023 <span class="preprocessor"></span>
00024 <span class="comment">/******** System Includes *************/</span>
00025 <span class="preprocessor">#include &lt;stdlib.hch&gt;</span>
@@ -23,296 +23,287 @@
00031 <span class="preprocessor">#include "<a class="code" href="audio_8hch.html">audio.hch</a>"</span>
00032 <span class="preprocessor">#include "<a class="code" href="eventhandler__shared_8hch.html">eventhandler_shared.hch</a>"</span>
00033 <span class="preprocessor">#include "<a class="code" href="mouse__shared_8hch.html">mouse_shared.hch</a>"</span>
-00034 <span class="preprocessor">#include "<a class="code" href="display__shared_8hch.html">display_shared.hch</a>"</span>
-00035 <span class="preprocessor">#include "<a class="code" href="display_8hch.html">display.hch</a>"</span>
-00036
-00037 <span class="preprocessor">#if HAVE_DEBUG</span>
-00038 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span>
-00039 <span class="preprocessor">#endif</span>
-00040 <span class="preprocessor"></span>
-00041
+00034 <span class="preprocessor">#include "<a class="code" href="smartmedia__shared_8hch.html">smartmedia_shared.hch</a>"</span>
+00035 <span class="preprocessor">#include "<a class="code" href="display__shared_8hch.html">display_shared.hch</a>"</span>
+00036 <span class="preprocessor">#include "<a class="code" href="display_8hch.html">display.hch</a>"</span>
+00037
+00038 <span class="preprocessor">#if HAVE_DEBUG</span>
+00039 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span>
+00040 <span class="preprocessor">#endif</span>
+00041 <span class="preprocessor"></span>
00042
-00043 <span class="comment">/*</span>
-00044 <span class="comment"> * Channel to notify others when new mousedata is available. If so</span>
-00045 <span class="comment"> * Then mousedata struct is updated with shared data.</span>
-00046 <span class="comment"> */</span>
-00047 chan <span class="keywordtype">unsigned</span> 1 maskupdate_notification;
-00048
+00043
+00044 <span class="comment">/*</span>
+00045 <span class="comment"> * Channel to notify others when new mousedata is available. If so</span>
+00046 <span class="comment"> * Then mousedata struct is updated with shared data.</span>
+00047 <span class="comment"> */</span>
+<a name="l00048"></a><a class="code" href="eventhandler_8hcc.html#a0">00048</a> chan <span class="keywordtype">unsigned</span> 1 maskupdate_notification;
00049
00050
-<a name="l00064"></a><a class="code" href="display_8hcc.html#a3">00064</a> <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a3">display_main</a>(skindata_t *skindata, audiodata_t *audiodata, events_t *events, mousedata_t *mousedata) {
-00065 <span class="comment">/*</span>
-00066 <span class="comment"> * Setup macro's RAM/Video handles and to coordinate pixel writing.</span>
-00067 <span class="comment"> */</span>
-00068 macro expr CLOCKRATE = PAL_ACTUAL_CLOCK_RATE;
-00069 macro expr VIDEOOUT = PalVideoOutOptimalCT(CLOCKRATE);
-00070 macro expr RAM_BANK0 = PalPL2RAMCT(0);
-00071 macro expr DW = PalPL2RAMGetMaxDataWidthCT();
-00072 macro expr AW = PalPL2RAMGetMaxAddressWidthCT();
-00073 macro expr VISIBLEX = PalVideoOutGetVisibleX(VIDEOOUT, CLOCKRATE);
-00074 macro expr TOTALX = PalVideoOutGetTotalX(VIDEOOUT, CLOCKRATE);
-00075 macro expr TOTALY = PalVideoOutGetTotalY(VIDEOOUT);
-00076 macro expr SCANX = PalVideoOutGetX(VIDEOOUT);
-00077 macro expr SCANY = PalVideoOutGetY(VIDEOOUT);
-00078
-00079 <span class="keywordtype">unsigned</span> DW pixeldata;
-00080 <span class="keywordtype">unsigned</span> 24 visual_graph_color;
-00081 <span class="keywordtype">unsigned</span> AW address, address_offset;
-00082
-00083 <span class="comment">/*</span>
-00084 <span class="comment"> * To draw something usefull when only drawing our mask, we simply draw the</span>
-00085 <span class="comment"> * mask itself. Thus creating a blueish image to help identify all interesting</span>
-00086 <span class="comment"> * area's on the screen. Otherwise we only use the last 24 bits, the RGB values</span>
-00087 <span class="comment"> * to draw on the screen.</span>
-00088 <span class="comment"> */</span>
-00089 <span class="preprocessor">#if (USE_MASK_ONLY &amp;&amp; HAVE_SMARTMEDIA)</span>
-00090 <span class="preprocessor"></span><span class="preprocessor">#define PIXEL (0 @ pixeldata[31:24])</span>
-00091 <span class="preprocessor"></span><span class="preprocessor">#else</span>
-00092 <span class="preprocessor"></span><span class="preprocessor">#define PIXEL (pixeldata &lt;- 24)</span>
-00093 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
-00094 <span class="preprocessor"></span>
-00095 <span class="comment">/*</span>
-00096 <span class="comment"> * If the passed button_state tells us the button is active, then we</span>
-00097 <span class="comment"> * the button is 'on' and we draw it inverted. Otherwise we draw the</span>
-00098 <span class="comment"> * area of the button normally.</span>
-00099 <span class="comment"> */</span>
-00100 macro proc draw_button(button_state) {
-00101 <span class="keywordflow">if</span> (button_state == pixeldata[31:24]) {
-00102 PalVideoOutWrite(VIDEOOUT, ~PIXEL);
-00103 } <span class="keywordflow">else</span> {
-00104 PalVideoOutWrite(VIDEOOUT, PIXEL);
-00105 }
-00106 }
-00107
-00108 <span class="comment">/*</span>
-00109 <span class="comment"> * Prime Rendering Pipeline to start where the skin starts.</span>
-00110 <span class="comment"> */</span>
-00111 PalPL2RAMSetReadAddress(RAM_BANK0, ADDRESS_SKIN_START);
-00112
-00113 <span class="comment">/*</span>
-00114 <span class="comment"> * Run the following tasks indefinatly and in parallel</span>
-00115 <span class="comment"> */</span>
-00116 <span class="keywordflow">while</span> (TRUE) {
-00117 par {
+00051
+<a name="l00065"></a><a class="code" href="display_8hcc.html#a2">00065</a> <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a2">display_main</a>(<a class="code" href="structskindata__t.html">skindata_t</a> *skindata, <a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="code" href="structevents__t.html">events_t</a> *events, <a class="code" href="structmousedata__t.html">mousedata_t</a> *mousedata) {
+00066 <span class="comment">/*</span>
+00067 <span class="comment"> * Setup macro's RAM/Video handles and to coordinate pixel writing.</span>
+00068 <span class="comment"> */</span>
+00069 macro expr CLOCKRATE = PAL_ACTUAL_CLOCK_RATE;
+00070 macro expr VIDEOOUT = PalVideoOutOptimalCT(CLOCKRATE);
+00071 macro expr RAM_BANK0 = PalPL2RAMCT(0);
+00072 macro expr DW = PalPL2RAMGetMaxDataWidthCT();
+00073 macro expr AW = PalPL2RAMGetMaxAddressWidthCT();
+00074 macro expr VISIBLEX = PalVideoOutGetVisibleX(VIDEOOUT, CLOCKRATE);
+00075 macro expr TOTALX = PalVideoOutGetTotalX(VIDEOOUT, CLOCKRATE);
+00076 macro expr TOTALY = PalVideoOutGetTotalY(VIDEOOUT);
+00077 macro expr SCANX = PalVideoOutGetX(VIDEOOUT);
+00078 macro expr SCANY = PalVideoOutGetY(VIDEOOUT);
+00079
+00080 <span class="keywordtype">unsigned</span> DW pixeldata;
+00081 <span class="keywordtype">unsigned</span> 24 visual_graph_color;
+00082 <span class="keywordtype">unsigned</span> AW address, address_offset;
+00083
+00084
+00085
+00086 <span class="comment">/*</span>
+00087 <span class="comment"> * If the passed button_state tells us the button is active, then we</span>
+00088 <span class="comment"> * the button is 'on' and we draw it inverted. Otherwise we draw the</span>
+00089 <span class="comment"> * area of the button normally.</span>
+00090 <span class="comment"> */</span>
+00091 macro proc draw_button(button_state) {
+00092 <span class="keywordflow">if</span> (button_state == pixeldata[31:24]) {
+00093 PalVideoOutWrite(VIDEOOUT, ~<a class="code" href="display_8hch.html#a1">PIXEL</a>);
+00094 } <span class="keywordflow">else</span> {
+00095 PalVideoOutWrite(VIDEOOUT, <a class="code" href="display_8hch.html#a1">PIXEL</a>);
+00096 }
+00097 }
+00098
+00099 <span class="comment">/*</span>
+00100 <span class="comment"> * Prime Rendering Pipeline to start where the skin starts.</span>
+00101 <span class="comment"> */</span>
+00102 PalPL2RAMSetReadAddress(RAM_BANK0, <a class="code" href="smartmedia__shared_8hch.html#a22">ADDRESS_SKIN_START</a>);
+00103
+00104 <span class="comment">/*</span>
+00105 <span class="comment"> * Run the following tasks indefinatly and in parallel</span>
+00106 <span class="comment"> */</span>
+00107 <span class="keywordflow">while</span> (TRUE) {
+00108 par {
+00109 <span class="comment">/*</span>
+00110 <span class="comment"> * Before starting this loop we allready set the the</span>
+00111 <span class="comment"> * address. Therefor we can start reading the</span>
+00112 <span class="comment"> * previously set address and prepare the next address</span>
+00113 <span class="comment"> * for the next cycle.</span>
+00114 <span class="comment"> */</span>
+00115 PalPL2RAMRead(RAM_BANK0, &amp;pixeldata);
+00116 PalPL2RAMSetReadAddress(RAM_BANK0, address_offset +address);
+00117
00118 <span class="comment">/*</span>
-00119 <span class="comment"> * Before starting this loop we allready set the the</span>
-00120 <span class="comment"> * address. Therefor we can start reading the</span>
-00121 <span class="comment"> * previously set address and prepare the next address</span>
-00122 <span class="comment"> * for the next cycle.</span>
-00123 <span class="comment"> */</span>
-00124 PalPL2RAMRead(RAM_BANK0, &amp;pixeldata);
-00125 PalPL2RAMSetReadAddress(RAM_BANK0, address_offset +address);
-00126
-00127 <span class="comment">/*</span>
-00128 <span class="comment"> */</span>
-00129 <span class="keywordflow">switch</span> (events-&gt;mode) {
-00130 <span class="keywordflow">case</span> MODE_HELP:
-00131 address_offset = ADDRESS_HELP_START;
-00132 <span class="keywordflow">break</span>;
-00133 <span class="keywordflow">case</span> MODE_GRAPH:
-00134 address_offset = ADDRESS_GRAPHMASK_START;
-00135 <span class="keywordflow">break</span>;
-00136 <span class="keywordflow">default</span>:
-00137 address_offset = ADDRESS_SKIN_START;
-00138 <span class="keywordflow">break</span>;
-00139 }
-00140
-00141 <span class="keywordflow">if</span> (MODE_GRAPH == events-&gt;mode) {
-00142 par {
-00143 visual_graph_color = ((<span class="keywordtype">unsigned</span> 8)(0 @ audiodata-&gt;fft_info.read[pixeldata[31:24]]) &lt;&lt; 1) @ ((<span class="keywordtype">unsigned</span> 8)(0 @ audiodata-&gt;fft_info.read[pixeldata[31:24]]) &lt;&lt; -1) @ ((<span class="keywordtype">unsigned</span> 8)(0 @ audiodata-&gt;fft_info.read[pixeldata[31:24]]) &lt;&lt; 0);
-00144 PalVideoOutWrite(VIDEOOUT, 0 @ visual_graph_color);
-00145 }
-00146 } <span class="keywordflow">else</span> {
-00147 <span class="comment">/*</span>
-00148 <span class="comment"> * Determin what to draw where here. Every case has an</span>
-00149 <span class="comment"> * if else statement comparing wether to draw something</span>
-00150 <span class="comment"> * special or the background. Every specific drawing</span>
-00151 <span class="comment"> * obviously only happens in the masked area.</span>
-00152 <span class="comment"> */</span>
-00153 <span class="keywordflow">switch</span> (pixeldata[31:24]) {
-00154 <span class="comment">/*</span>
-00155 <span class="comment"> */</span>
-00156 <span class="keywordflow">case</span> AREA_WAVEFORM:
-00157 <span class="keywordflow">if</span> (SCANY == 0 @ skindata-&gt;area_waveform_bottom -(0 @ (audiodata-&gt;ifft_info.read[((SCANX -(0 @ skindata-&gt;area_waveform_left)) &lt;-8)]))) {
-00158 PalVideoOutWrite(VIDEOOUT, skindata-&gt;color_area_waveform);
-00159 } <span class="keywordflow">else</span> {
-00160 PalVideoOutWrite(VIDEOOUT, PIXEL);
-00161 }
-00162 <span class="keywordflow">break</span>;
-00163
-00164 <span class="comment">/*</span>
-00165 <span class="comment"> * Volume control over the Y-axis.</span>
-00166 <span class="comment"> */</span>
-00167 <span class="keywordflow">case</span> AREA_VOLUME_YAXIS:
-00168 <span class="comment">/*</span>
-00169 <span class="comment"> * The volume_position stores the</span>
-00170 <span class="comment"> * highest point of our bar. Every</span>
-00171 <span class="comment"> * pixel after this point is drawn.</span>
-00172 <span class="comment"> */</span>
-00173 <span class="keywordflow">if</span> (SCANY &gt;= 0 @ events-&gt;volume_position) {
-00174 PalVideoOutWrite(VIDEOOUT, skindata-&gt;color_area_volume);
-00175 } <span class="keywordflow">else</span> {
-00176 PalVideoOutWrite(VIDEOOUT, PIXEL);
-00177 }
-00178 <span class="keywordflow">break</span>;
-00179
-00180 <span class="comment">/*</span>
-00181 <span class="comment"> * Spectrum Analyzer</span>
-00182 <span class="comment"> */</span>
-00183 <span class="keywordflow">case</span> AREA_SPECTRUM_ANALYZER:
-00184 <span class="comment">/*</span>
-00185 <span class="comment"> * We draw every pixel that is smaller TODO</span>
-00186 <span class="comment"> */</span>
-00187 <span class="keywordflow">if</span> ((SCANY &gt;= (0 @ skindata-&gt;area_spectrum_bottom) -(0 @ audiodata-&gt;fft_info.read[(SCANX -(0 @ skindata-&gt;area_spectrum_left))[9:2]])) &amp;&amp; ((SCANX -(0 @ skindata-&gt;area_spectrum_left)) &lt;- 2)) {
-00188 PalVideoOutWrite(VIDEOOUT, PIXEL_SPECTRUM);
-00189 } <span class="keywordflow">else</span> {
-00190 PalVideoOutWrite(VIDEOOUT, PIXEL);
-00191 }
-00192 <span class="keywordflow">break</span>;
-00193
-00194 <span class="comment">/*</span>
-00195 <span class="comment"> * Since all buttons are drawn equally, either</span>
-00196 <span class="comment"> * we draw them normally or we inverse them, we</span>
-00197 <span class="comment"> * can handle them almost equally.</span>
-00198 <span class="comment"> */</span>
-00199 <span class="keywordflow">case</span> BUTTON_PRESET_1: <span class="comment">/* fall through */</span>
-00200 <span class="keywordflow">case</span> BUTTON_PRESET_2: <span class="comment">/* fall through */</span>
-00201 <span class="keywordflow">case</span> BUTTON_PRESET_3: <span class="comment">/* fall through */</span>
-00202 <span class="keywordflow">case</span> BUTTON_PRESET_4: <span class="comment">/* fall through */</span>
-00203 <span class="keywordflow">case</span> BUTTON_PRESET_5: <span class="comment">/* fall through */</span>
-00204 <span class="keywordflow">case</span> BUTTON_PRESET_6:
-00205 <span class="comment">/*</span>
-00206 <span class="comment"> * The active preset tells us what</span>
-00207 <span class="comment"> * button is currently enabled. We must</span>
-00208 <span class="comment"> * however not forget to add the preset</span>
-00209 <span class="comment"> * button offset to possibly match it</span>
-00210 <span class="comment"> * with the current mask.</span>
-00211 <span class="comment"> */</span>
-00212 draw_button((events-&gt;active_preset +BUTTON_PRESET_1) &lt;- 8);
-00213 <span class="keywordflow">break</span>;
-00214
-00215 <span class="keywordflow">case</span> BUTTON_CONVEX_FULL: <span class="comment">/* fall through */</span>
-00216 <span class="keywordflow">case</span> BUTTON_CONVEX_HALF: <span class="comment">/* fall through */</span>
-00217 <span class="keywordflow">case</span> BUTTON_PRECISE: <span class="comment">/* fall through */</span>
-00218 <span class="keywordflow">case</span> BUTTON_CONCAVE_HALF: <span class="comment">/* fall through */</span>
-00219 <span class="keywordflow">case</span> BUTTON_CONCAVE_FULL:
-00220 <span class="comment">/*</span>
-00221 <span class="comment"> * equalizer mode tells us what button</span>
-00222 <span class="comment"> * is currently enabled. By adding the</span>
-00223 <span class="comment"> * equalizer mode button offset we can</span>
-00224 <span class="comment"> * safley check wether it matches our</span>
-00225 <span class="comment"> * mask.</span>
-00226 <span class="comment"> */</span>
-00227 draw_button((0 @ events-&gt;equalizer_mode) +BUTTON_CONVEX_FULL);
-00228 <span class="keywordflow">break</span>;
-00229
-00230 <span class="keywordflow">case</span> BUTTON_LOG:
-00231 <span class="comment">/*</span>
-00232 <span class="comment"> * </span>
-00233 <span class="comment"> */</span>
-00234 draw_button((0 @ audiodata-&gt;display_log) +BUTTON_LOG);
-00235 <span class="keywordflow">break</span>;
-00236
-00237 <span class="comment">/*</span>
-00238 <span class="comment"> * The default case is split up into two parts</span>
-00239 <span class="comment"> * actually. This is because we have 128 bands</span>
-00240 <span class="comment"> * for the equalizer and thus as many mask</span>
-00241 <span class="comment"> * entries. Since we don't want 128 identical</span>
-00242 <span class="comment"> * cases we check wether the equalizer mask is</span>
-00243 <span class="comment"> * currently active and if so draw it. If this</span>
-00244 <span class="comment"> * is not the case we simply draw the</span>
-00245 <span class="comment"> * background.</span>
-00246 <span class="comment"> */</span>
-00247 <span class="keywordflow">default</span>:
-00248 <span class="comment">/* (pixeldata[31:24] &lt;= AREA_EQUALIZER_MAX) &amp;&amp; */</span>
-00249 <span class="keywordflow">if</span> (!events-&gt;locked_equalizer) {
-00250 <span class="keywordflow">if</span> ((AREA_EQUALIZER_MIN &lt;= pixeldata[31:24]) &amp;&amp; ((SCANY -(0 @ SCANY &lt;- 1)) == 0 @ events-&gt;equalizer_display[(pixeldata[31:24] -AREA_EQUALIZER_MIN) &lt;- 7])) {
-00251 PalVideoOutWrite(VIDEOOUT, skindata-&gt;color_equalizer);
-00252 } <span class="keywordflow">else</span> {
-00253 PalVideoOutWrite(VIDEOOUT, PIXEL);
-00254 }
-00255 } <span class="keywordflow">else</span> {
-00256 PalVideoOutWrite(VIDEOOUT, PIXEL);
-00257 }
-00258 <span class="keywordflow">break</span>;
-00259 }
-00260 }
-00261
-00262 <span class="comment">/*</span>
-00263 <span class="comment"> * We compare our current X and Y scan positions of the</span>
-00264 <span class="comment"> * output to the x and y data of the mouse. When those</span>
-00265 <span class="comment"> * are equal we set the current mask to the mask stored</span>
-00266 <span class="comment"> * in memory at that location. We then know what mask</span>
-00267 <span class="comment"> * is to be used for events.</span>
-00268 <span class="comment"> */</span>
-00269 <span class="keywordflow">if</span> (MOUSE_UPDATED == mousedata-&gt;status) {
-00270 <span class="keywordflow">if</span> ((SCANX == 0 @ mousedata-&gt;x) &amp;&amp; (SCANY == 0 @ mousedata-&gt;y)) {
-00271 par {
-00272 events-&gt;mask = pixeldata[31:24];
-00273 mousedata-&gt;status = MOUSE_NOT_UPDATED;
-00274 maskupdate_notification ! MOUSE_UPDATED;
-00275 }
-00276 } <span class="keywordflow">else</span> {
-00277 delay;
-00278 }
-00279 } <span class="keywordflow">else</span> {
-00280 delay;
-00281 }
-00282
-00283 <span class="comment">/*</span>
-00284 <span class="comment"> * The current position of the screen can lay in an</span>
-00285 <span class="comment"> * area called the blanking area. We don't have data</span>
-00286 <span class="comment"> * for this area as it is not drawn. We therefor have</span>
-00287 <span class="comment"> * to determin wether we are beyond the visible area of</span>
-00288 <span class="comment"> * the screen, but before the end of the total width of</span>
-00289 <span class="comment"> * the screen. Our pipeline consists of 4 total stages.</span>
-00290 <span class="comment"> * Therefor we have to substract 4 pixels.</span>
-00291 <span class="comment"> */</span>
-00292 <span class="keywordflow">if</span> ((SCANX &gt; (VISIBLEX - 4)) &amp;&amp; (SCANX &lt;= (TOTALX - 4))) {
-00293 <span class="comment">/*</span>
-00294 <span class="comment"> * We are in the blanking area of the screen.</span>
-00295 <span class="comment"> * If we are on the last line, and thus last</span>
-00296 <span class="comment"> * pixel we reset our address counter.</span>
-00297 <span class="comment"> */</span>
-00298 <span class="keywordflow">if</span> (SCANY == (TOTALY -1)) {
-00299 <span class="comment">/*</span>
-00300 <span class="comment"> * Reset our draw address counter to 0.</span>
-00301 <span class="comment"> */</span>
-00302 address = 0;
-00303 } <span class="keywordflow">else</span> {
-00304 <span class="comment">/*</span>
-00305 <span class="comment"> * We should not ever get inhere. To</span>
-00306 <span class="comment"> * keep everything consequent however,</span>
-00307 <span class="comment"> * we add a delay.</span>
-00308 <span class="comment"> */</span>
-00309 delay;
-00310 }
-00311 } <span class="keywordflow">else</span> {
-00312 <span class="comment">/*</span>
-00313 <span class="comment"> * Increase the memory counter for each pixel</span>
-00314 <span class="comment"> * drawn thus keeping the memory location in</span>
-00315 <span class="comment"> * sync with the current pixel position.</span>
-00316 <span class="comment"> */</span>
-00317 address++;
-00318 }
-00319 }
-00320 }
-00321 } <span class="comment">/* --- display_main() --- */</span>
-00322
-00323
-00324
-<a name="l00337"></a><a class="code" href="display_8hcc.html#a4">00337</a> <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a4">reload_equalizer</a>(events_t *events, <span class="keywordtype">unsigned</span> 4 *equalizer_levels) {
-00338 <span class="keywordtype">unsigned</span> 7 equalizer_band;
-00339
-00340 events-&gt;locked_equalizer = TRUE;
-00341 delay;
-00342 <span class="keywordflow">do</span> {
-00343 events-&gt;equalizer_display[equalizer_band] = equalizer_table_inv[equalizer_levels[equalizer_band]];
-00344 equalizer_band++;
-00345 } <span class="keywordflow">while</span> (equalizer_band);
-00346 events-&gt;locked_equalizer = FALSE;
-00347 } <span class="comment">/* --- reload_equalizer() --- */</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+00119 <span class="comment"> */</span>
+00120 <span class="keywordflow">switch</span> (events-&gt;<a class="code" href="structevents__t.html#o4">mode</a>) {
+00121 <span class="keywordflow">case</span> <a class="code" href="eventhandler__shared_8hch.html#a2">MODE_HELP</a>:
+00122 address_offset = ADDRESS_HELP_START;
+00123 <span class="keywordflow">break</span>;
+00124 <span class="keywordflow">case</span> <a class="code" href="eventhandler__shared_8hch.html#a3">MODE_GRAPH</a>:
+00125 address_offset = ADDRESS_GRAPHMASK_START;
+00126 <span class="keywordflow">break</span>;
+00127 <span class="keywordflow">default</span>:
+00128 address_offset = ADDRESS_SKIN_START;
+00129 <span class="keywordflow">break</span>;
+00130 }
+00131
+00132 <span class="keywordflow">if</span> (<a class="code" href="eventhandler__shared_8hch.html#a3">MODE_GRAPH</a> == events-&gt;<a class="code" href="structevents__t.html#o4">mode</a>) {
+00133 par {
+00134 visual_graph_color = ((<span class="keywordtype">unsigned</span> 8)(0 @ audiodata-&gt;fft_info.read[pixeldata[31:24]]) &lt;&lt; 1) @ ((<span class="keywordtype">unsigned</span> 8)(0 @ audiodata-&gt;fft_info.read[pixeldata[31:24]]) &lt;&lt; -1) @ ((<span class="keywordtype">unsigned</span> 8)(0 @ audiodata-&gt;fft_info.read[pixeldata[31:24]]) &lt;&lt; 0);
+00135 PalVideoOutWrite(VIDEOOUT, 0 @ visual_graph_color);
+00136 }
+00137 } <span class="keywordflow">else</span> {
+00138 <span class="comment">/*</span>
+00139 <span class="comment"> * Determin what to draw where here. Every case has an</span>
+00140 <span class="comment"> * if else statement comparing wether to draw something</span>
+00141 <span class="comment"> * special or the background. Every specific drawing</span>
+00142 <span class="comment"> * obviously only happens in the masked area.</span>
+00143 <span class="comment"> */</span>
+00144 <span class="keywordflow">switch</span> (pixeldata[31:24]) {
+00145 <span class="comment">/*</span>
+00146 <span class="comment"> */</span>
+00147 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a1">AREA_WAVEFORM</a>:
+00148 <span class="keywordflow">if</span> (SCANY == 0 @ skindata-&gt;area_waveform_bottom -(0 @ (audiodata-&gt;ifft_info.read[((SCANX -(0 @ skindata-&gt;area_waveform_left)) &lt;-8)]))) {
+00149 PalVideoOutWrite(VIDEOOUT, skindata-&gt;color_area_waveform);
+00150 } <span class="keywordflow">else</span> {
+00151 PalVideoOutWrite(VIDEOOUT, <a class="code" href="display_8hch.html#a1">PIXEL</a>);
+00152 }
+00153 <span class="keywordflow">break</span>;
+00154
+00155 <span class="comment">/*</span>
+00156 <span class="comment"> * Volume control over the Y-axis.</span>
+00157 <span class="comment"> */</span>
+00158 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a2">AREA_VOLUME_YAXIS</a>:
+00159 <span class="comment">/*</span>
+00160 <span class="comment"> * The volume_position stores the</span>
+00161 <span class="comment"> * highest point of our bar. Every</span>
+00162 <span class="comment"> * pixel after this point is drawn.</span>
+00163 <span class="comment"> */</span>
+00164 <span class="keywordflow">if</span> (SCANY &gt;= 0 @ events-&gt;<a class="code" href="structevents__t.html#o2">volume_position</a>) {
+00165 PalVideoOutWrite(VIDEOOUT, skindata-&gt;color_area_volume);
+00166 } <span class="keywordflow">else</span> {
+00167 PalVideoOutWrite(VIDEOOUT, <a class="code" href="display_8hch.html#a1">PIXEL</a>);
+00168 }
+00169 <span class="keywordflow">break</span>;
+00170
+00171 <span class="comment">/*</span>
+00172 <span class="comment"> * Spectrum Analyzer</span>
+00173 <span class="comment"> */</span>
+00174 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a3">AREA_SPECTRUM_ANALYZER</a>:
+00175 <span class="comment">/*</span>
+00176 <span class="comment"> * We draw every pixel that is smaller TODO</span>
+00177 <span class="comment"> */</span>
+00178 <span class="keywordflow">if</span> ((SCANY &gt;= (0 @ skindata-&gt;area_spectrum_bottom) -(0 @ audiodata-&gt;fft_info.read[(SCANX -(0 @ skindata-&gt;area_spectrum_left))[9:2]])) &amp;&amp; ((SCANX -(0 @ skindata-&gt;area_spectrum_left)) &lt;- 2)) {
+00179 PalVideoOutWrite(VIDEOOUT, <a class="code" href="display_8hch.html#a4">PIXEL_SPECTRUM</a>);
+00180 } <span class="keywordflow">else</span> {
+00181 PalVideoOutWrite(VIDEOOUT, <a class="code" href="display_8hch.html#a1">PIXEL</a>);
+00182 }
+00183 <span class="keywordflow">break</span>;
+00184
+00185 <span class="comment">/*</span>
+00186 <span class="comment"> * Since all buttons are drawn equally, either</span>
+00187 <span class="comment"> * we draw them normally or we inverse them, we</span>
+00188 <span class="comment"> * can handle them almost equally.</span>
+00189 <span class="comment"> */</span>
+00190 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a7">BUTTON_PRESET_1</a>: <span class="comment">/* fall through */</span>
+00191 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a8">BUTTON_PRESET_2</a>: <span class="comment">/* fall through */</span>
+00192 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a9">BUTTON_PRESET_3</a>: <span class="comment">/* fall through */</span>
+00193 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a10">BUTTON_PRESET_4</a>: <span class="comment">/* fall through */</span>
+00194 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a11">BUTTON_PRESET_5</a>: <span class="comment">/* fall through */</span>
+00195 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a12">BUTTON_PRESET_6</a>:
+00196 <span class="comment">/*</span>
+00197 <span class="comment"> * The active preset tells us what</span>
+00198 <span class="comment"> * button is currently enabled. We must</span>
+00199 <span class="comment"> * however not forget to add the preset</span>
+00200 <span class="comment"> * button offset to possibly match it</span>
+00201 <span class="comment"> * with the current mask.</span>
+00202 <span class="comment"> */</span>
+00203 draw_button((events-&gt;<a class="code" href="structevents__t.html#o1">active_preset</a> +<a class="code" href="display__shared_8hch.html#a7">BUTTON_PRESET_1</a>) &lt;- 8);
+00204 <span class="keywordflow">break</span>;
+00205
+00206 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a15">BUTTON_PRECISE</a>: <span class="comment">/* fall through */</span>
+00207 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a16">BUTTON_CONCAVE_HALF</a>: <span class="comment">/* fall through */</span>
+00208 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a14">BUTTON_CONVEX_HALF</a>: <span class="comment">/* fall through */</span>
+00209 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a17">BUTTON_CONCAVE_FULL</a>: <span class="comment">/* fall through */</span>
+00210 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a13">BUTTON_CONVEX_FULL</a>:
+00211 <span class="comment">/*</span>
+00212 <span class="comment"> * equalizer mode tells us what button</span>
+00213 <span class="comment"> * is currently enabled. By adding the</span>
+00214 <span class="comment"> * equalizer mode button offset we can</span>
+00215 <span class="comment"> * safley check wether it matches our</span>
+00216 <span class="comment"> * mask.</span>
+00217 <span class="comment"> */</span>
+00218 draw_button((0 @ events-&gt;<a class="code" href="structevents__t.html#o5">equalizer_mode</a>) +<a class="code" href="display__shared_8hch.html#a15">BUTTON_PRECISE</a>);
+00219 <span class="keywordflow">break</span>;
+00220
+00221 <span class="keywordflow">case</span> <a class="code" href="display__shared_8hch.html#a4">BUTTON_LOG</a>:
+00222 <span class="comment">/*</span>
+00223 <span class="comment"> * </span>
+00224 <span class="comment"> */</span>
+00225 draw_button((0 @ audiodata-&gt;<a class="code" href="structaudiodata__t.html#o1">display_log</a>) +<a class="code" href="display__shared_8hch.html#a4">BUTTON_LOG</a>);
+00226 <span class="keywordflow">break</span>;
+00227
+00228 <span class="comment">/*</span>
+00229 <span class="comment"> * The default case is split up into two parts</span>
+00230 <span class="comment"> * actually. This is because we have 128 bands</span>
+00231 <span class="comment"> * for the equalizer and thus as many mask</span>
+00232 <span class="comment"> * entries. Since we don't want 128 identical</span>
+00233 <span class="comment"> * cases we check wether the equalizer mask is</span>
+00234 <span class="comment"> * currently active and if so draw it. If this</span>
+00235 <span class="comment"> * is not the case we simply draw the</span>
+00236 <span class="comment"> * background.</span>
+00237 <span class="comment"> */</span>
+00238 <span class="keywordflow">default</span>:
+00239 <span class="comment">/* (pixeldata[31:24] &lt;= AREA_EQUALIZER_MAX) &amp;&amp; */</span>
+00240 <span class="keywordflow">if</span> ((<a class="code" href="display__shared_8hch.html#a20">AREA_EQUALIZER_MIN</a> &lt;= pixeldata[31:24]) &amp;&amp; (!events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a>)) {
+00241 <span class="keywordflow">if</span> ((SCANY == 0 @ events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[(pixeldata[31:24] -AREA_EQUALIZER_MIN) &lt;- 7]) || ((SCANY +1) == 0 @ events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[(pixeldata[31:24] -AREA_EQUALIZER_MIN) &lt;- 7])) {
+00242 PalVideoOutWrite(VIDEOOUT, skindata-&gt;color_equalizer);
+00243 } <span class="keywordflow">else</span> {
+00244 PalVideoOutWrite(VIDEOOUT, <a class="code" href="display_8hch.html#a1">PIXEL</a>);
+00245 }
+00246 } <span class="keywordflow">else</span> {
+00247 PalVideoOutWrite(VIDEOOUT, <a class="code" href="display_8hch.html#a1">PIXEL</a>);
+00248 }
+00249 <span class="keywordflow">break</span>;
+00250 }
+00251 }
+00252
+00253 <span class="comment">/*</span>
+00254 <span class="comment"> * We compare our current X and Y scan positions of the</span>
+00255 <span class="comment"> * output to the x and y data of the mouse. When those</span>
+00256 <span class="comment"> * are equal we set the current mask to the mask stored</span>
+00257 <span class="comment"> * in memory at that location. We then know what mask</span>
+00258 <span class="comment"> * is to be used for events.</span>
+00259 <span class="comment"> */</span>
+00260 <span class="keywordflow">if</span> (<a class="code" href="mouse__shared_8hch.html#a2">MOUSE_UPDATED</a> == mousedata-&gt;<a class="code" href="structmousedata__t.html#o3">status</a>) {
+00261 <span class="keywordflow">if</span> ((SCANX == 0 @ mousedata-&gt;<a class="code" href="structmousedata__t.html#o0">x</a>) &amp;&amp; (SCANY == 0 @ mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a>)) {
+00262 par {
+00263 events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> = pixeldata[31:24];
+00264 mousedata-&gt;<a class="code" href="structmousedata__t.html#o3">status</a> = MOUSE_NOT_UPDATED;
+00265 <a class="code" href="display_8hcc.html#a1">maskupdate_notification</a> ! MOUSE_UPDATED;
+00266 }
+00267 } <span class="keywordflow">else</span> {
+00268 delay;
+00269 }
+00270 } <span class="keywordflow">else</span> {
+00271 delay;
+00272 }
+00273
+00274 <span class="comment">/*</span>
+00275 <span class="comment"> * The current position of the screen can lay in an</span>
+00276 <span class="comment"> * area called the blanking area. We don't have data</span>
+00277 <span class="comment"> * for this area as it is not drawn. We therefor have</span>
+00278 <span class="comment"> * to determin wether we are beyond the visible area of</span>
+00279 <span class="comment"> * the screen, but before the end of the total width of</span>
+00280 <span class="comment"> * the screen. Our pipeline consists of 5 total stages.</span>
+00281 <span class="comment"> * Therefor we have to substract 5 pixels.</span>
+00282 <span class="comment"> */</span>
+00283 <span class="keywordflow">if</span> ((SCANX &gt; (VISIBLEX - 5)) &amp;&amp; (SCANX &lt;= (TOTALX - 5))) {
+00284 <span class="comment">/*</span>
+00285 <span class="comment"> * We are in the blanking area of the screen.</span>
+00286 <span class="comment"> * If we are on the last line, and thus last</span>
+00287 <span class="comment"> * pixel we reset our address counter.</span>
+00288 <span class="comment"> */</span>
+00289 <span class="keywordflow">if</span> (SCANY == (TOTALY -1)) {
+00290 <span class="comment">/*</span>
+00291 <span class="comment"> * Reset our draw address counter to 0.</span>
+00292 <span class="comment"> */</span>
+00293 address = 0;
+00294 } <span class="keywordflow">else</span> {
+00295 <span class="comment">/*</span>
+00296 <span class="comment"> * We have reached the end of the</span>
+00297 <span class="comment"> * visible line, but not the end of</span>
+00298 <span class="comment"> * the screen. Therefore do nothing.</span>
+00299 <span class="comment"> */</span>
+00300 delay;
+00301 }
+00302 } <span class="keywordflow">else</span> {
+00303 <span class="comment">/*</span>
+00304 <span class="comment"> * Increase the memory counter for each pixel</span>
+00305 <span class="comment"> * drawn thus keeping the memory location in</span>
+00306 <span class="comment"> * sync with the current pixel position.</span>
+00307 <span class="comment"> */</span>
+00308 address++;
+00309 }
+00310 }
+00311 }
+00312 } <span class="comment">/* --- display_main() --- */</span>
+00313
+00314
+00315
+<a name="l00328"></a><a class="code" href="display_8hcc.html#a3">00328</a> <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a3">reload_equalizer</a>(<a class="code" href="structevents__t.html">events_t</a> *events, <span class="keywordtype">unsigned</span> 4 *equalizer_levels) {
+00329 <span class="keywordtype">unsigned</span> 7 equalizer_band;
+00330
+00331 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = TRUE;
+00332 delay;
+00333 <span class="keywordflow">do</span> {
+00334 events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[equalizer_band] = <a class="code" href="eventhandler__shared_8hch.html#a9">equalizer_table_inv</a>[equalizer_levels[equalizer_band]];
+00335 equalizer_band++;
+00336 } <span class="keywordflow">while</span> (equalizer_band);
+00337 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = FALSE;
+00338 } <span class="comment">/* --- reload_equalizer() --- */</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/display_8hcc.html b/Graphic_Equalizer/doc/html/display_8hcc.html
index 8b16663..d278be9 100644
--- a/Graphic_Equalizer/doc/html/display_8hcc.html
+++ b/Graphic_Equalizer/doc/html/display_8hcc.html
@@ -1,10 +1,10 @@
<!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/display.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/display.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>display.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
@@ -13,6 +13,7 @@
<code>#include "<a class="el" href="audio_8hch-source.html">audio.hch</a>"</code><br>
<code>#include "<a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>"</code><br>
<code>#include "<a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>"</code><br>
+<code>#include "<a class="el" href="smartmedia__shared_8hch-source.html">smartmedia_shared.hch</a>"</code><br>
<code>#include "<a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>"</code><br>
<code>#include "<a class="el" href="display_8hch-source.html">display.hch</a>"</code><br>
@@ -21,26 +22,33 @@ Include dependency graph for display.hcc:<p><center><img src="display_8hcc__incl
<map name="display.hcc_map">
<area href="configuration_8hch.html" shape="rect" coords="245,7,370,34" alt="">
<area href="audio_8hch.html" shape="rect" coords="394,7,474,34" alt="">
-<area href="eventhandler__shared_8hch.html" shape="rect" coords="498,7,672,34" alt="">
-<area href="mouse__shared_8hch.html" shape="rect" coords="696,7,832,34" alt="">
-<area href="display__shared_8hch.html" shape="rect" coords="856,7,992,34" alt="">
-<area href="display_8hch.html" shape="rect" coords="1016,7,1104,34" alt="">
+<area href="eventhandler__shared_8hch.html" shape="rect" coords="498,7,671,34" alt="">
+<area href="mouse__shared_8hch.html" shape="rect" coords="695,7,831,34" alt="">
+<area href="smartmedia__shared_8hch.html" shape="rect" coords="855,7,1021,34" alt="">
+<area href="display__shared_8hch.html" shape="rect" coords="1045,7,1181,34" alt="">
+<area href="display_8hch.html" shape="rect" coords="1205,7,1293,34" alt="">
</map>
<p>
<a href="display_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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hcc.html#a0">PAL_TARGET_CLOCK_RATE</a>&nbsp;&nbsp;&nbsp;25175000</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="display_8hcc.html#a3">display_main</a> (skindata_t *skindata, audiodata_t *audiodata, events_t *events, mousedata_t *mousedata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hcc.html#a2">display_main</a> (<a class="el" href="structskindata__t.html">skindata_t</a> *skindata, <a class="el" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="el" href="structevents__t.html">events_t</a> *events, <a class="el" href="structmousedata__t.html">mousedata_t</a> *mousedata)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine handles all drawing of pixels. It never returns! <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="display_8hcc.html#a3">reload_equalizer</a> (<a class="el" href="structevents__t.html">events_t</a> *events, unsigned 4 *equalizer_levels)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine handles all drawing of pixels. It never returns! <a href="#a3"></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="display_8hcc.html#a4">reload_equalizer</a> (events_t *events, unsigned 4 *equalizer_levels)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function copies the supplied equalizer values to the array used for displaying equalizer data. <a href="#a3"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">chan unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hcc.html#a1">maskupdate_notification</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function copies the supplied equalizer values to the array used for displaying equalizer data. <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>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -54,8 +62,34 @@ Change history</a></h2>
20041011: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="display_8hcc-source.html">display.hcc</a>.<hr><h2>Function Documentation</h2>
-<a class="anchor" name="a3" doxytag="display.hcc::display_main"></a><p>
+Definition in file <a class="el" href="display_8hcc-source.html">display.hcc</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="display.hcc::PAL_TARGET_CLOCK_RATE"></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">#define PAL_TARGET_CLOCK_RATE&nbsp;&nbsp;&nbsp;25175000 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hcc-source.html#l00022">22</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a2" doxytag="display.hcc::display_main"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -63,25 +97,25 @@ Definition in file <a class="el" href="display_8hcc-source.html">display.hcc</a>
<tr>
<td class="md" nowrap valign="top">void display_main </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">skindata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structskindata__t.html">skindata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>skindata</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>audiodata_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structaudiodata__t.html">audiodata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>audiodata</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>events_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structevents__t.html">events_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>events</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>mousedata_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structmousedata__t.html">mousedata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>mousedata</em></td>
</tr>
<tr>
@@ -119,12 +153,14 @@ This routine handles all drawing of pixels. It never returns!
</dl>
<p>
-Definition at line <a class="el" href="display_8hcc-source.html#l00064">64</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+Definition at line <a class="el" href="display_8hcc-source.html#l00065">65</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+<p>
+References <a class="el" href="eventhandler__shared_8hch-source.html#l00031">events_t::active_preset</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00060">ADDRESS_SKIN_START</a>, <a class="el" href="display__shared_8hch-source.html#l00074">AREA_EQUALIZER_MIN</a>, <a class="el" href="display__shared_8hch-source.html#l00052">AREA_SPECTRUM_ANALYZER</a>, <a class="el" href="display__shared_8hch-source.html#l00051">AREA_VOLUME_YAXIS</a>, <a class="el" href="display__shared_8hch-source.html#l00050">AREA_WAVEFORM</a>, <a class="el" href="display__shared_8hch-source.html#l00069">BUTTON_CONCAVE_FULL</a>, <a class="el" href="display__shared_8hch-source.html#l00068">BUTTON_CONCAVE_HALF</a>, <a class="el" href="display__shared_8hch-source.html#l00065">BUTTON_CONVEX_FULL</a>, <a class="el" href="display__shared_8hch-source.html#l00066">BUTTON_CONVEX_HALF</a>, <a class="el" href="display__shared_8hch-source.html#l00054">BUTTON_LOG</a>, <a class="el" href="display__shared_8hch-source.html#l00067">BUTTON_PRECISE</a>, <a class="el" href="display__shared_8hch-source.html#l00058">BUTTON_PRESET_1</a>, <a class="el" href="display__shared_8hch-source.html#l00059">BUTTON_PRESET_2</a>, <a class="el" href="display__shared_8hch-source.html#l00060">BUTTON_PRESET_3</a>, <a class="el" href="display__shared_8hch-source.html#l00061">BUTTON_PRESET_4</a>, <a class="el" href="display__shared_8hch-source.html#l00062">BUTTON_PRESET_5</a>, <a class="el" href="display__shared_8hch-source.html#l00063">BUTTON_PRESET_6</a>, <a class="el" href="audio_8hch-source.html#l00035">audiodata_t::display_log</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00030">events_t::equalizer_display</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00035">events_t::equalizer_mode</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00036">events_t::locked_display</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00033">events_t::mask</a>, <a class="el" href="display_8hcc-source.html#l00048">maskupdate_notification</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00034">events_t::mode</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00042">MODE_GRAPH</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00041">MODE_HELP</a>, <a class="el" href="mouse__shared_8hch-source.html#l00039">MOUSE_UPDATED</a>, <a class="el" href="display_8hch-source.html#l00027">PIXEL</a>, <a class="el" href="display_8hch-source.html#l00030">PIXEL_SPECTRUM</a>, <a class="el" href="mouse__shared_8hch-source.html#l00030">mousedata_t::status</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00032">events_t::volume_position</a>, <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::x</a>, and <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::y</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<a class="anchor" name="a4" doxytag="display.hcc::reload_equalizer"></a><p>
+<a class="anchor" name="a3" doxytag="display.hcc::reload_equalizer"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -132,7 +168,7 @@ Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. <
<tr>
<td class="md" nowrap valign="top">void reload_equalizer </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">events_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structevents__t.html">events_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>events</em>, </td>
</tr>
<tr>
@@ -174,12 +210,42 @@ This function copies the supplied equalizer values to the array used for display
</dl>
<p>
-Definition at line <a class="el" href="display_8hcc-source.html#l00337">337</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+Definition at line <a class="el" href="display_8hcc-source.html#l00328">328</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+<p>
+References <a class="el" href="eventhandler__shared_8hch-source.html#l00030">events_t::equalizer_display</a>, <a class="el" href="events_8hcc-source.html#l00076">equalizer_table_inv</a>, and <a class="el" href="eventhandler__shared_8hch-source.html#l00036">events_t::locked_display</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Variable Documentation</h2>
+<a class="anchor" name="a1" doxytag="display.hcc::maskupdate_notification"></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">chan unsigned <a class="el" href="eventhandler_8hcc.html#a0">maskupdate_notification</a> </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hcc-source.html#l00048">48</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
<p>
-Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00063">eventhandler_main()</a>. </td>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:49 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:15 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/display_8hcc__incl.map b/Graphic_Equalizer/doc/html/display_8hcc__incl.map
index 523ea9f..81a6f64 100644
--- a/Graphic_Equalizer/doc/html/display_8hcc__incl.map
+++ b/Graphic_Equalizer/doc/html/display_8hcc__incl.map
@@ -1,7 +1,8 @@
base referer
rect $configuration_8hch.html 245,7 370,34
rect $audio_8hch.html 394,7 474,34
-rect $eventhandler__shared_8hch.html 498,7 672,34
-rect $mouse__shared_8hch.html 696,7 832,34
-rect $display__shared_8hch.html 856,7 992,34
-rect $display_8hch.html 1016,7 1104,34
+rect $eventhandler__shared_8hch.html 498,7 671,34
+rect $mouse__shared_8hch.html 695,7 831,34
+rect $smartmedia__shared_8hch.html 855,7 1021,34
+rect $display__shared_8hch.html 1045,7 1181,34
+rect $display_8hch.html 1205,7 1293,34
diff --git a/Graphic_Equalizer/doc/html/display_8hcc__incl.md5 b/Graphic_Equalizer/doc/html/display_8hcc__incl.md5
index ab1fb04..11ba440 100644
--- a/Graphic_Equalizer/doc/html/display_8hcc__incl.md5
+++ b/Graphic_Equalizer/doc/html/display_8hcc__incl.md5
@@ -1 +1 @@
-970c745e492752ae0dd4d12d70766e0f \ No newline at end of file
+5e133a2b43b5f61d89ce22cb97bd0bbb \ No newline at end of file
diff --git a/Graphic_Equalizer/doc/html/display_8hcc__incl.png b/Graphic_Equalizer/doc/html/display_8hcc__incl.png
index d808b60..8341c12 100644
--- a/Graphic_Equalizer/doc/html/display_8hcc__incl.png
+++ b/Graphic_Equalizer/doc/html/display_8hcc__incl.png
Binary files differ
diff --git a/Graphic_Equalizer/doc/html/display_8hch-source.html b/Graphic_Equalizer/doc/html/display_8hch-source.html
index 15aec07..bf886f9 100644
--- a/Graphic_Equalizer/doc/html/display_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/display_8hch-source.html
@@ -1,47 +1,48 @@
<!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/include/display.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/display.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>display.hch</h1><a href="display_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _DISPLAY_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _DISPLAY_HCH 1</span>
+<a name="l00020"></a><a class="code" href="display_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _DISPLAY_HCH 1</span>
00021 <span class="preprocessor"></span>
00022
00023
00024 <span class="comment">/*</span>
00025 <span class="comment"> * Set the color for various items that will be drawn on screen.</span>
00026 <span class="comment"> */</span>
-00027 <span class="preprocessor">#define PIXEL_VOLUME (0x0000ff)</span>
-00028 <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_EQUALIZER (0xff0000)</span>
-00029 <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_SPECTRUM ((((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8) @ 0x00 @ (((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8))</span>
-00030 <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_WAVEFORM (0x0000ff)</span>
-00031 <span class="preprocessor"></span>
-00032
+<a name="l00027"></a><a class="code" href="display_8hch.html#a1">00027</a> <span class="preprocessor">#define PIXEL (pixeldata &lt;- 24)</span>
+<a name="l00028"></a><a class="code" href="display_8hch.html#a2">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_VOLUME (0x2d74b5)</span>
+<a name="l00029"></a><a class="code" href="display_8hch.html#a3">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_EQUALIZER (0xc7541f)</span>
+<a name="l00030"></a><a class="code" href="display_8hch.html#a4">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_SPECTRUM ((((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8) @ 0x00 @ (((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8))</span>
+<a name="l00031"></a><a class="code" href="display_8hch.html#a5">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_WAVEFORM (0x2d74b5)</span>
+00032 <span class="preprocessor"></span>
00033
-00034 <span class="comment">/*</span>
-00035 <span class="comment"> * Main display loop. This function never returns! It handles display output.</span>
-00036 <span class="comment"> * It needs to respond to certain events set by the events pointer. Also it</span>
-00037 <span class="comment"> * informs events what the current mask is. To optain the current mask we need</span>
-00038 <span class="comment"> * the X and Y coordinates from our mousedata pointer.</span>
-00039 <span class="comment"> */</span>
-00040 <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a3">display_main</a>(skindata_t *skindata, audiodata_t *audiodata, events_t *events, mousedata_t *mousedata);
-00041
+00034
+00035 <span class="comment">/*</span>
+00036 <span class="comment"> * Main display loop. This function never returns! It handles display output.</span>
+00037 <span class="comment"> * It needs to respond to certain events set by the events pointer. Also it</span>
+00038 <span class="comment"> * informs events what the current mask is. To optain the current mask we need</span>
+00039 <span class="comment"> * the X and Y coordinates from our mousedata pointer.</span>
+00040 <span class="comment"> */</span>
+00041 <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a2">display_main</a>(<a class="code" href="structskindata__t.html">skindata_t</a> *skindata, <a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="code" href="structevents__t.html">events_t</a> *events, <a class="code" href="structmousedata__t.html">mousedata_t</a> *mousedata);
00042
00043
-00044 <span class="comment">/*</span>
-00045 <span class="comment"> * reload equalizer bars into the display memory.</span>
-00046 <span class="comment"> */</span>
-00047 <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a4">reload_equalizer</a>(events_t *events, <span class="keywordtype">unsigned</span> 4 *equalizer_levels, <span class="keywordtype">unsigned</span> 10 preset_offset);
-00048
-00049 <span class="preprocessor">#else</span>
-00050 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file display.hch multiple times included"</span>
-00051 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _DISPLAY_HCH --- */</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:46 2004 for Graphic Equalizer by&nbsp;
+00044
+00045 <span class="comment">/*</span>
+00046 <span class="comment"> * reload equalizer bars into the display memory.</span>
+00047 <span class="comment"> */</span>
+00048 <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a3">reload_equalizer</a>(<a class="code" href="structevents__t.html">events_t</a> *events, <span class="keywordtype">unsigned</span> 4 *equalizer_levels_ptr);
+00049
+00050 <span class="preprocessor">#else</span>
+00051 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file display.hch multiple times included"</span>
+00052 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _DISPLAY_HCH --- */</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:08 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/display_8hch.html b/Graphic_Equalizer/doc/html/display_8hch.html
index 8ec3362..dd371cb 100644
--- a/Graphic_Equalizer/doc/html/display_8hch.html
+++ b/Graphic_Equalizer/doc/html/display_8hch.html
@@ -1,10 +1,10 @@
<!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/include/display.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/display.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>display.hch File Reference</h1>
@@ -20,14 +20,30 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="display_8hch-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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hch.html#a0">_DISPLAY_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hch.html#a1">PIXEL</a>&nbsp;&nbsp;&nbsp;(pixeldata &lt;- 24)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hch.html#a2">PIXEL_VOLUME</a>&nbsp;&nbsp;&nbsp;(0x2d74b5)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hch.html#a3">PIXEL_EQUALIZER</a>&nbsp;&nbsp;&nbsp;(0xc7541f)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hch.html#a4">PIXEL_SPECTRUM</a>&nbsp;&nbsp;&nbsp;((((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8) @ 0x00 @ (((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8))</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hch.html#a5">PIXEL_WAVEFORM</a>&nbsp;&nbsp;&nbsp;(0x2d74b5)</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="display_8hch.html#a5">display_main</a> (skindata_t *skindata, audiodata_t *audiodata, events_t *events, mousedata_t *mousedata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display_8hch.html#a6">display_main</a> (<a class="el" href="structskindata__t.html">skindata_t</a> *skindata, <a class="el" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="el" href="structevents__t.html">events_t</a> *events, <a class="el" href="structmousedata__t.html">mousedata_t</a> *mousedata)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine handles all drawing of pixels. It never returns! <a href="#a5"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine handles all drawing of pixels. It never returns! <a href="#a6"></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="display_8hch.html#a7">reload_equalizer</a> (<a class="el" href="structevents__t.html">events_t</a> *events, unsigned 4 *equalizer_levels_ptr)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function copies the supplied equalizer values to the array used for displaying equalizer data. <a href="#a7"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -41,8 +57,163 @@ Change history</a></h2>
20041011: <br>
Initial version
<p>
-Definition in file <a class="el" href="display_8hch-source.html">display.hch</a>.<hr><h2>Function Documentation</h2>
-<a class="anchor" name="a5" doxytag="display.hch::display_main"></a><p>
+Definition in file <a class="el" href="display_8hch-source.html">display.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="display.hch::_DISPLAY_HCH"></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">#define _DISPLAY_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hch-source.html#l00020">20</a> of file <a class="el" href="display_8hch-source.html">display.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="display.hch::PIXEL"></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">#define PIXEL&nbsp;&nbsp;&nbsp;(pixeldata &lt;- 24) </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hch-source.html#l00027">27</a> of file <a class="el" href="display_8hch-source.html">display.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="display.hch::PIXEL_VOLUME"></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">#define PIXEL_VOLUME&nbsp;&nbsp;&nbsp;(0x2d74b5) </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hch-source.html#l00028">28</a> of file <a class="el" href="display_8hch-source.html">display.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="display.hch::PIXEL_EQUALIZER"></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">#define PIXEL_EQUALIZER&nbsp;&nbsp;&nbsp;(0xc7541f) </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hch-source.html#l00029">29</a> of file <a class="el" href="display_8hch-source.html">display.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="display.hch::PIXEL_SPECTRUM"></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">#define PIXEL_SPECTRUM&nbsp;&nbsp;&nbsp;((((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8) @ 0x00 @ (((skindata-&gt;area_spectrum_bottom -(SCANY &lt;- 10)) &lt;&lt;1) &lt;- 8)) </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hch-source.html#l00030">30</a> of file <a class="el" href="display_8hch-source.html">display.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a5" doxytag="display.hch::PIXEL_WAVEFORM"></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">#define PIXEL_WAVEFORM&nbsp;&nbsp;&nbsp;(0x2d74b5) </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hch-source.html#l00031">31</a> of file <a class="el" href="display_8hch-source.html">display.hch</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a6" doxytag="display.hch::display_main"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -50,25 +221,25 @@ Definition in file <a class="el" href="display_8hch-source.html">display.hch</a>
<tr>
<td class="md" nowrap valign="top">void display_main </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">skindata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structskindata__t.html">skindata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>skindata</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>audiodata_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structaudiodata__t.html">audiodata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>audiodata</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>events_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structevents__t.html">events_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>events</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>mousedata_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structmousedata__t.html">mousedata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>mousedata</em></td>
</tr>
<tr>
@@ -106,12 +277,71 @@ This routine handles all drawing of pixels. It never returns!
</dl>
<p>
-Definition at line <a class="el" href="display_8hcc-source.html#l00064">64</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+Definition at line <a class="el" href="display_8hcc-source.html#l00065">65</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+<p>
+References <a class="el" href="eventhandler__shared_8hch-source.html#l00031">events_t::active_preset</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00060">ADDRESS_SKIN_START</a>, <a class="el" href="display__shared_8hch-source.html#l00074">AREA_EQUALIZER_MIN</a>, <a class="el" href="display__shared_8hch-source.html#l00052">AREA_SPECTRUM_ANALYZER</a>, <a class="el" href="display__shared_8hch-source.html#l00051">AREA_VOLUME_YAXIS</a>, <a class="el" href="display__shared_8hch-source.html#l00050">AREA_WAVEFORM</a>, <a class="el" href="display__shared_8hch-source.html#l00069">BUTTON_CONCAVE_FULL</a>, <a class="el" href="display__shared_8hch-source.html#l00068">BUTTON_CONCAVE_HALF</a>, <a class="el" href="display__shared_8hch-source.html#l00065">BUTTON_CONVEX_FULL</a>, <a class="el" href="display__shared_8hch-source.html#l00066">BUTTON_CONVEX_HALF</a>, <a class="el" href="display__shared_8hch-source.html#l00054">BUTTON_LOG</a>, <a class="el" href="display__shared_8hch-source.html#l00067">BUTTON_PRECISE</a>, <a class="el" href="display__shared_8hch-source.html#l00058">BUTTON_PRESET_1</a>, <a class="el" href="display__shared_8hch-source.html#l00059">BUTTON_PRESET_2</a>, <a class="el" href="display__shared_8hch-source.html#l00060">BUTTON_PRESET_3</a>, <a class="el" href="display__shared_8hch-source.html#l00061">BUTTON_PRESET_4</a>, <a class="el" href="display__shared_8hch-source.html#l00062">BUTTON_PRESET_5</a>, <a class="el" href="display__shared_8hch-source.html#l00063">BUTTON_PRESET_6</a>, <a class="el" href="audio_8hch-source.html#l00035">audiodata_t::display_log</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00030">events_t::equalizer_display</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00035">events_t::equalizer_mode</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00036">events_t::locked_display</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00033">events_t::mask</a>, <a class="el" href="display_8hcc-source.html#l00048">maskupdate_notification</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00034">events_t::mode</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00042">MODE_GRAPH</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00041">MODE_HELP</a>, <a class="el" href="mouse__shared_8hch-source.html#l00039">MOUSE_UPDATED</a>, <a class="el" href="display_8hch-source.html#l00027">PIXEL</a>, <a class="el" href="display_8hch-source.html#l00030">PIXEL_SPECTRUM</a>, <a class="el" href="mouse__shared_8hch-source.html#l00030">mousedata_t::status</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00032">events_t::volume_position</a>, <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::x</a>, and <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::y</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+<a class="anchor" name="a7" doxytag="display.hch::reload_equalizer"></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 reload_equalizer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structevents__t.html">events_t</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>events</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>unsigned 4 *&nbsp;</td>
+ <td class="mdname" nowrap> <em>equalizer_levels</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This function copies the supplied equalizer values to the array used for displaying equalizer data.
+<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>*events</em>&nbsp;</td><td>events struct </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>*equalizer_levels</em>&nbsp;</td><td>pointer to 128 entries where equalizer is to be copied from.</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="display_8hcc-source.html#l00328">328</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+<p>
+References <a class="el" href="eventhandler__shared_8hch-source.html#l00030">events_t::equalizer_display</a>, <a class="el" href="events_8hcc-source.html#l00076">equalizer_table_inv</a>, and <a class="el" href="eventhandler__shared_8hch-source.html#l00036">events_t::locked_display</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:10 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/display__shared_8hch-source.html b/Graphic_Equalizer/doc/html/display__shared_8hch-source.html
index fcd672a..9466939 100644
--- a/Graphic_Equalizer/doc/html/display__shared_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/display__shared_8hch-source.html
@@ -1,62 +1,61 @@
<!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/include/display_shared.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/display_shared.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>display_shared.hch</h1><a href="display__shared_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
-00019 <span class="preprocessor">#ifndef _DISPLAY_SHARED_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _DISPLAY_SHARED_HCH 1</span>
-00021 <span class="preprocessor"></span>
-00022
+00020 <span class="preprocessor">#ifndef _DISPLAY_SHARED_HCH</span>
+<a name="l00021"></a><a class="code" href="display__shared_8hch.html#a0">00021</a> <span class="preprocessor"></span><span class="preprocessor">#define _DISPLAY_SHARED_HCH 1</span>
+00022 <span class="preprocessor"></span>
00023
-00024 <span class="keyword">typedef</span> <span class="keyword">struct </span>{
-00025 <span class="keywordtype">unsigned</span> 10 area_spectrum_bottom, area_spectrum_top, area_spectrum_left, area_spectrum_right;
-00026 <span class="keywordtype">unsigned</span> 10 area_waveform_bottom, area_waveform_top, area_waveform_left, area_waveform_right;
-00027 <span class="keywordtype">unsigned</span> 10 area_volume_bottom, area_volume_top, area_volume_left, area_volume_right;
-00028 <span class="keywordtype">unsigned</span> 24 color_area_volume, color_area_waveform, color_area_spectrum_top, color_area_spectrum_bottom, color_equalizer;
-00029 } skindata_t;
-00030
-00031
-00032
-00033 <span class="comment">/*</span>
-00034 <span class="comment"> * Define all area's of the display.</span>
-00035 <span class="comment"> */</span>
-00036 <span class="preprocessor">#define AREA_WAVEFORM 0x01</span>
-00037 <span class="preprocessor"></span><span class="preprocessor">#define AREA_VOLUME_YAXIS 0x02</span>
-00038 <span class="preprocessor"></span><span class="preprocessor">#define AREA_SPECTRUM_ANALYZER 0x03</span>
-00039 <span class="preprocessor"></span>
-00040 <span class="preprocessor">#define BUTTON_LOG 0x04</span>
-00041 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_DEMO 0x05</span>
-00042 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_RESET 0x06</span>
-00043 <span class="preprocessor"></span>
-00044 <span class="preprocessor">#define BUTTON_PRESET_1 0x07</span>
-00045 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_PRESET_2 0x08</span>
-00046 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_PRESET_3 0x09</span>
-00047 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_PRESET_4 0x0a</span>
-00048 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_PRESET_5 0x0b</span>
-00049 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_PRESET_6 0x0c</span>
-00050 <span class="preprocessor"></span>
-00051 <span class="preprocessor">#define BUTTON_CONVEX_FULL 0x0d </span><span class="comment">/* / \ */</span>
-00052 <span class="preprocessor">#define BUTTON_CONVEX_HALF 0x0e </span><span class="comment">/* /\ */</span>
-00053 <span class="preprocessor">#define BUTTON_PRECISE 0x0f </span><span class="comment">/* | */</span>
-00054 <span class="preprocessor">#define BUTTON_CONCAVE_HALF 0x10 </span><span class="comment">/* \/ */</span>
-00055 <span class="preprocessor">#define BUTTON_CONCAVE_FULL 0x11 </span><span class="comment">/* \ / */</span>
-00056
-00057 <span class="preprocessor">#define BUTTON_HELP 0x12</span>
-00058 <span class="preprocessor"></span><span class="preprocessor">#define BUTTON_MODE 0x13</span>
-00059 <span class="preprocessor"></span>
-00060 <span class="preprocessor">#define AREA_EQUALIZER_MIN 0x80</span>
-00061 <span class="preprocessor"></span><span class="preprocessor">#define AREA_EQUALIZER_MAX 0xff</span>
-00062 <span class="preprocessor"></span>
-00063 <span class="preprocessor">#else</span>
-00064 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file display_shared.hch multiple times included"</span>
-00065 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _DISPLAY_SHARED_HCH --- */</span>
-00066
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:46 2004 for Graphic Equalizer by&nbsp;
+00024
+<a name="l00029"></a><a class="code" href="structskindata__t.html">00029</a> <span class="keyword">struct </span><a class="code" href="structskindata__t.html">skindata_t</a> {
+<a name="l00034"></a><a class="code" href="structskindata__t_1_1skin__info__t.html">00034</a> <span class="keyword">struct </span><a class="code" href="structskindata__t_1_1skin__info__t.html">skin_info_t</a> {
+<a name="l00035"></a><a class="code" href="structskindata__t_1_1skin__info__t.html#o0">00035</a> <span class="keywordtype">unsigned</span> 10 area_bottom;
+<a name="l00036"></a><a class="code" href="structskindata__t_1_1skin__info__t.html#o1">00036</a> <span class="keywordtype">unsigned</span> 10 area_top;
+<a name="l00037"></a><a class="code" href="structskindata__t_1_1skin__info__t.html#o2">00037</a> <span class="keywordtype">unsigned</span> 10 area_left;
+<a name="l00038"></a><a class="code" href="structskindata__t_1_1skin__info__t.html#o3">00038</a> <span class="keywordtype">unsigned</span> 10 area_right;
+<a name="l00039"></a><a class="code" href="structskindata__t_1_1skin__info__t.html#o4">00039</a> <span class="keywordtype">unsigned</span> 24 color_primary;
+<a name="l00040"></a><a class="code" href="structskindata__t_1_1skin__info__t.html#o5">00040</a> <span class="keywordtype">unsigned</span> 24 color_secondary;
+00041 };
+<a name="l00042"></a><a class="code" href="structskindata__t.html#o0">00042</a> <span class="keyword">struct </span><a class="code" href="structskindata__t_1_1skin__info__t.html">skin_info_t</a> waveform;
+<a name="l00043"></a><a class="code" href="structskindata__t.html#o1">00043</a> <span class="keyword">struct </span><a class="code" href="structskindata__t_1_1skin__info__t.html">skin_info_t</a> spectrum;
+<a name="l00044"></a><a class="code" href="structskindata__t.html#o2">00044</a> <span class="keyword">struct </span><a class="code" href="structskindata__t_1_1skin__info__t.html">skin_info_t</a> volume;
+<a name="l00045"></a><a class="code" href="structskindata__t.html#o3">00045</a> <span class="keyword">struct </span><a class="code" href="structskindata__t_1_1skin__info__t.html">skin_info_t</a> equalizer;
+00046 };
+00047
+00048
+00049
+<a name="l00050"></a><a class="code" href="display__shared_8hch.html#a1">00050</a> <span class="preprocessor">#define AREA_WAVEFORM 0x01 </span>
+<a name="l00051"></a><a class="code" href="display__shared_8hch.html#a2">00051</a> <span class="preprocessor">#define AREA_VOLUME_YAXIS 0x02 </span>
+<a name="l00052"></a><a class="code" href="display__shared_8hch.html#a3">00052</a> <span class="preprocessor">#define AREA_SPECTRUM_ANALYZER 0x03 </span>
+<a name="l00054"></a><a class="code" href="display__shared_8hch.html#a4">00054</a> <span class="preprocessor">#define BUTTON_LOG 0x04 </span>
+<a name="l00055"></a><a class="code" href="display__shared_8hch.html#a5">00055</a> <span class="preprocessor">#define BUTTON_DEMO 0x05 </span>
+<a name="l00056"></a><a class="code" href="display__shared_8hch.html#a6">00056</a> <span class="preprocessor">#define BUTTON_RESET 0x06 </span>
+<a name="l00058"></a><a class="code" href="display__shared_8hch.html#a7">00058</a> <span class="preprocessor">#define BUTTON_PRESET_1 0x07 </span>
+<a name="l00059"></a><a class="code" href="display__shared_8hch.html#a8">00059</a> <span class="preprocessor">#define BUTTON_PRESET_2 0x08 </span>
+<a name="l00060"></a><a class="code" href="display__shared_8hch.html#a9">00060</a> <span class="preprocessor">#define BUTTON_PRESET_3 0x09 </span>
+<a name="l00061"></a><a class="code" href="display__shared_8hch.html#a10">00061</a> <span class="preprocessor">#define BUTTON_PRESET_4 0x0a </span>
+<a name="l00062"></a><a class="code" href="display__shared_8hch.html#a11">00062</a> <span class="preprocessor">#define BUTTON_PRESET_5 0x0b </span>
+<a name="l00063"></a><a class="code" href="display__shared_8hch.html#a12">00063</a> <span class="preprocessor">#define BUTTON_PRESET_6 0x0c </span>
+<a name="l00065"></a><a class="code" href="display__shared_8hch.html#a13">00065</a> <span class="preprocessor">#define BUTTON_CONVEX_FULL 0x0d </span>
+<a name="l00066"></a><a class="code" href="display__shared_8hch.html#a14">00066</a> <span class="preprocessor">#define BUTTON_CONVEX_HALF 0x0e </span>
+<a name="l00067"></a><a class="code" href="display__shared_8hch.html#a15">00067</a> <span class="preprocessor">#define BUTTON_PRECISE 0x0f </span>
+<a name="l00068"></a><a class="code" href="display__shared_8hch.html#a16">00068</a> <span class="preprocessor">#define BUTTON_CONCAVE_HALF 0x10 </span>
+<a name="l00069"></a><a class="code" href="display__shared_8hch.html#a17">00069</a> <span class="preprocessor">#define BUTTON_CONCAVE_FULL 0x11 </span>
+<a name="l00071"></a><a class="code" href="display__shared_8hch.html#a18">00071</a> <span class="preprocessor">#define BUTTON_HELP 0x12 </span>
+<a name="l00072"></a><a class="code" href="display__shared_8hch.html#a19">00072</a> <span class="preprocessor">#define BUTTON_MODE 0x13 </span>
+<a name="l00074"></a><a class="code" href="display__shared_8hch.html#a20">00074</a> <span class="preprocessor">#define AREA_EQUALIZER_MIN 0x80 </span>
+<a name="l00075"></a><a class="code" href="display__shared_8hch.html#a21">00075</a> <span class="preprocessor">#define AREA_EQUALIZER_MAX 0xff </span>
+00077 <span class="preprocessor">#else</span>
+00078 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file display_shared.hch multiple times included"</span>
+00079 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _DISPLAY_SHARED_HCH --- */</span>
+00080
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:08 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/display__shared_8hch.html b/Graphic_Equalizer/doc/html/display__shared_8hch.html
index 58b24c4..4e24768 100644
--- a/Graphic_Equalizer/doc/html/display__shared_8hch.html
+++ b/Graphic_Equalizer/doc/html/display__shared_8hch.html
@@ -1,13 +1,15 @@
<!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/include/display_shared.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/display_shared.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
-<h1>display_shared.hch File Reference</h1>
+<h1>display_shared.hch File Reference</h1>Datastructures and defines for usage when interacting with the display library. <a href="#_details">More...</a>
+<p>
+
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="display__shared_8hch__dep__incl.png" border="0" usemap="#display_shared.hchdep_map" alt="Included by dependency graph"></center>
<map name="display_shared.hchdep_map">
@@ -20,13 +22,65 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="display__shared_8hch-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>Data Structures</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structskindata__t.html">skindata_t</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This struct contains all area- dimensions and color information for the skin. <a href="structskindata__t.html#_details">More...</a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structskindata__t_1_1skin__info__t.html">skindata_t::skin_info_t</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Structure containing the four boundry limits of an area and maximal two colors per area. <a href="structskindata__t_1_1skin__info__t.html#_details">More...</a><br></td></tr>
+<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a0">_DISPLAY_SHARED_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a1">AREA_WAVEFORM</a>&nbsp;&nbsp;&nbsp;0x01</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a2">AREA_VOLUME_YAXIS</a>&nbsp;&nbsp;&nbsp;0x02</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a3">AREA_SPECTRUM_ANALYZER</a>&nbsp;&nbsp;&nbsp;0x03</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a4">BUTTON_LOG</a>&nbsp;&nbsp;&nbsp;0x04</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a5">BUTTON_DEMO</a>&nbsp;&nbsp;&nbsp;0x05</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a6">BUTTON_RESET</a>&nbsp;&nbsp;&nbsp;0x06</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a7">BUTTON_PRESET_1</a>&nbsp;&nbsp;&nbsp;0x07</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a8">BUTTON_PRESET_2</a>&nbsp;&nbsp;&nbsp;0x08</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a9">BUTTON_PRESET_3</a>&nbsp;&nbsp;&nbsp;0x09</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a10">BUTTON_PRESET_4</a>&nbsp;&nbsp;&nbsp;0x0a</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a11">BUTTON_PRESET_5</a>&nbsp;&nbsp;&nbsp;0x0b</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a12">BUTTON_PRESET_6</a>&nbsp;&nbsp;&nbsp;0x0c</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a13">BUTTON_CONVEX_FULL</a>&nbsp;&nbsp;&nbsp;0x0d</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a14">BUTTON_CONVEX_HALF</a>&nbsp;&nbsp;&nbsp;0x0e</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a15">BUTTON_PRECISE</a>&nbsp;&nbsp;&nbsp;0x0f</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a16">BUTTON_CONCAVE_HALF</a>&nbsp;&nbsp;&nbsp;0x10</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a17">BUTTON_CONCAVE_FULL</a>&nbsp;&nbsp;&nbsp;0x11</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a18">BUTTON_HELP</a>&nbsp;&nbsp;&nbsp;0x12</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a19">BUTTON_MODE</a>&nbsp;&nbsp;&nbsp;0x13</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a20">AREA_EQUALIZER_MIN</a>&nbsp;&nbsp;&nbsp;0x80</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="display__shared_8hch.html#a21">AREA_EQUALIZER_MAX</a>&nbsp;&nbsp;&nbsp;0xff</td></tr>
+
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
-<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Datastructures and defines for usage when interacting with the display library.
+<p>
<h2><a class="anchor" name="project">
Project information.</a></h2>
-Project Graphic Equalizer<br>
+Graphic Equalizer 2<br>
<dl compact><dt><b>Author:</b></dt><dd></dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>20041011 </dd></dl>
<dl compact><dt><b>Version:</b></dt><dd>0.1</dd></dl>
@@ -37,7 +91,600 @@ Change history</a></h2>
20041011: <br>
Initial version
<p>
-Definition in file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+Definition in file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="display_shared.hch::_DISPLAY_SHARED_HCH"></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">#define _DISPLAY_SHARED_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00021">21</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="display_shared.hch::AREA_WAVEFORM"></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">#define AREA_WAVEFORM&nbsp;&nbsp;&nbsp;0x01 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Waveform area.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00050">50</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="display_shared.hch::AREA_VOLUME_YAXIS"></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">#define AREA_VOLUME_YAXIS&nbsp;&nbsp;&nbsp;0x02 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Volume control on the Y plane.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00051">51</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="display_shared.hch::AREA_SPECTRUM_ANALYZER"></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">#define AREA_SPECTRUM_ANALYZER&nbsp;&nbsp;&nbsp;0x03 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Spectrum Analyzer area.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00052">52</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="display_shared.hch::BUTTON_LOG"></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">#define BUTTON_LOG&nbsp;&nbsp;&nbsp;0x04 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Logarithmic display button.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00054">54</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a5" doxytag="display_shared.hch::BUTTON_DEMO"></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">#define BUTTON_DEMO&nbsp;&nbsp;&nbsp;0x05 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Demo preset button.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00055">55</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a6" doxytag="display_shared.hch::BUTTON_RESET"></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">#define BUTTON_RESET&nbsp;&nbsp;&nbsp;0x06 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Reset presets button.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00056">56</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a7" doxytag="display_shared.hch::BUTTON_PRESET_1"></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">#define BUTTON_PRESET_1&nbsp;&nbsp;&nbsp;0x07 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button for switching to preset 1
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00058">58</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a8" doxytag="display_shared.hch::BUTTON_PRESET_2"></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">#define BUTTON_PRESET_2&nbsp;&nbsp;&nbsp;0x08 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button for switching to preset 2
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00059">59</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a9" doxytag="display_shared.hch::BUTTON_PRESET_3"></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">#define BUTTON_PRESET_3&nbsp;&nbsp;&nbsp;0x09 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button for switching to preset 3
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00060">60</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a10" doxytag="display_shared.hch::BUTTON_PRESET_4"></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">#define BUTTON_PRESET_4&nbsp;&nbsp;&nbsp;0x0a </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button for switching to preset 4
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00061">61</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a11" doxytag="display_shared.hch::BUTTON_PRESET_5"></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">#define BUTTON_PRESET_5&nbsp;&nbsp;&nbsp;0x0b </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button for switching to preset 5
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00062">62</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a12" doxytag="display_shared.hch::BUTTON_PRESET_6"></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">#define BUTTON_PRESET_6&nbsp;&nbsp;&nbsp;0x0c </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button for switching to preset 6
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00063">63</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a13" doxytag="display_shared.hch::BUTTON_CONVEX_FULL"></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">#define BUTTON_CONVEX_FULL&nbsp;&nbsp;&nbsp;0x0d </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+/ - \ 'Convex' mode Button
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00065">65</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a14" doxytag="display_shared.hch::BUTTON_CONVEX_HALF"></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">#define BUTTON_CONVEX_HALF&nbsp;&nbsp;&nbsp;0x0e </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+/\ 'Convex' mode Button
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00066">66</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a15" doxytag="display_shared.hch::BUTTON_PRECISE"></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">#define BUTTON_PRECISE&nbsp;&nbsp;&nbsp;0x0f </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+| 'Precise' selection Button
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00067">67</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a16" doxytag="display_shared.hch::BUTTON_CONCAVE_HALF"></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">#define BUTTON_CONCAVE_HALF&nbsp;&nbsp;&nbsp;0x10 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+\/ 'Concave' mode Button
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00068">68</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a17" doxytag="display_shared.hch::BUTTON_CONCAVE_FULL"></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">#define BUTTON_CONCAVE_FULL&nbsp;&nbsp;&nbsp;0x11 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+\ _ / 'Concave' mode Button
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00069">69</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a18" doxytag="display_shared.hch::BUTTON_HELP"></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">#define BUTTON_HELP&nbsp;&nbsp;&nbsp;0x12 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button to display help screen.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00071">71</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a19" doxytag="display_shared.hch::BUTTON_MODE"></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">#define BUTTON_MODE&nbsp;&nbsp;&nbsp;0x13 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Button to change operation mode.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00072">72</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a20" doxytag="display_shared.hch::AREA_EQUALIZER_MIN"></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">#define AREA_EQUALIZER_MIN&nbsp;&nbsp;&nbsp;0x80 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+First bar of the Equalizer Area.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00074">74</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a21" doxytag="display_shared.hch::AREA_EQUALIZER_MAX"></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">#define AREA_EQUALIZER_MAX&nbsp;&nbsp;&nbsp;0xff </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Last bar of the Equalizer Area.
+<p>
+Definition at line <a class="el" href="display__shared_8hch-source.html#l00075">75</a> of file <a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:10 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/eventhandler_8hcc-source.html b/Graphic_Equalizer/doc/html/eventhandler_8hcc-source.html
index 24170bf..1ece362 100644
--- a/Graphic_Equalizer/doc/html/eventhandler_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/eventhandler_8hcc-source.html
@@ -1,10 +1,10 @@
<!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/eventhandler.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/eventhandler.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>eventhandler.hcc</h1><a href="eventhandler_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
@@ -35,242 +35,264 @@
00045
00046
00047
-00048 <span class="keyword">static</span> rom <span class="keywordtype">unsigned</span> 3 equalizer_mode_table[5] = {EQUALIZERMODE_CONVEX_FULL, EQUALIZERMODE_CONVEX_HALF, EQUALIZERMODE_PRECISE, EQUALIZERMODE_CONCAVE_HALF, EQUALIZERMODE_CONCAVE_FULL};
-00049
-00050
-00051
-<a name="l00063"></a><a class="code" href="eventhandler_8hcc.html#a3">00063</a> <span class="keywordtype">void</span> <a class="code" href="eventhandler_8hcc.html#a3">eventhandler_main</a>(audiodata_t *audiodata, events_t *events, mousedata_t *mousedata) {
-00064 mpram {
-00065 ram <span class="keywordtype">unsigned</span> 4 write[768];
-00066 rom <span class="keywordtype">unsigned</span> 4 read[768];
-00067 } equalizer_levels with { block = <span class="stringliteral">"BlockRAM"</span>};
-00068
-00069 <span class="keywordtype">unsigned</span> 10 preset_offset;
-00070 <span class="keywordtype">unsigned</span> 10 reference_point;
-00071 <span class="keywordtype">unsigned</span> 5 volume_left;
-00072 <span class="keywordtype">unsigned</span> 4 index_offset;
-00073 <span class="keywordtype">unsigned</span> 1 newmaskupdate;
+<a name="l00059"></a><a class="code" href="eventhandler_8hcc.html#a2">00059</a> <span class="keywordtype">void</span> <a class="code" href="eventhandler_8hcc.html#a2">eventhandler_main</a>(<a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="code" href="structevents__t.html">events_t</a> *events, <a class="code" href="structmousedata__t.html">mousedata_t</a> *mousedata) {
+00060 mpram {
+00061 ram <span class="keywordtype">unsigned</span> 4 write[768];
+00062 rom <span class="keywordtype">unsigned</span> 4 read[768];
+00063 } equalizer_levels with { block = <span class="stringliteral">"BlockRAM"</span>};
+00064
+00065 <span class="keywordtype">unsigned</span> 10 preset_offset;
+00066 <span class="keywordtype">unsigned</span> 10 reference_point, reference_point_right;
+00067 <span class="keywordtype">unsigned</span> 5 volume_left;
+00068 <span class="keywordtype">unsigned</span> 4 index_offset, index_end;
+00069 <span class="keywordtype">unsigned</span> 4 equalizer_mode_local;
+00070 <span class="keywordtype">unsigned</span> 1 newmaskupdate;
+00071
+00072 <a class="code" href="events_8hcc.html#a3">load_preset</a>(<a class="code" href="eventhandler_8hch.html#a1">LOAD_PRESET_RESET</a>, equalizer_levels.write);
+00073 <a class="code" href="display_8hcc.html#a3">reload_equalizer</a>(events, &amp;equalizer_levels.write[preset_offset]);
00074
-00075 <span class="comment">/*</span>
-00076 <span class="comment"> * Initialize our equalizer display pointers here, as they don't point</span>
-00077 <span class="comment"> * anywhere otherwise.</span>
-00078 <span class="comment"> */</span>
-00079
-00080 <span class="keywordflow">while</span> (TRUE) {
-00081 maskupdate_notification ? newmaskupdate;
-00082
-00083 <span class="comment">/*</span>
-00084 <span class="comment"> * First we determine what mousestate we currently have. Then</span>
-00085 <span class="comment"> * we check where we are to decide what to do.</span>
-00086 <span class="comment"> */</span>
-00087 <span class="keywordflow">switch</span> (mousedata-&gt;state) {
-00088 <span class="keywordflow">case</span> MOUSE_STATE_ON_PRESS:
-00089 <span class="comment">/*</span>
-00090 <span class="comment"> * If we are displaying the graphic visual,</span>
-00091 <span class="comment"> * any press returns to the application.</span>
-00092 <span class="comment"> */</span>
-00093 <span class="keywordflow">if</span> (MODE_GRAPH == events-&gt;mode) {
-00094 events-&gt;mode = MODE_SKIN;
-00095 events-&gt;mask = 0;
-00096 } <span class="keywordflow">else</span> {
-00097 delay;
-00098 }
-00099
-00100 <span class="comment">/*</span>
-00101 <span class="comment"> */</span>
-00102 <span class="keywordflow">if</span> (BUTTON_MODE == events-&gt;mask) {
-00103 <span class="keywordflow">if</span> (MODE_GRAPH == events-&gt;mode) {
-00104 events-&gt;mode = MODE_SKIN;
-00105 } <span class="keywordflow">else</span> {
-00106 events-&gt;mode = MODE_GRAPH;
-00107 }
-00108 } <span class="keywordflow">else</span> {
-00109 delay;
-00110 }
-00111
-00112 <span class="comment">/*</span>
-00113 <span class="comment"> * If the current mask equals the help button</span>
-00114 <span class="comment"> * we set display mode to help.</span>
-00115 <span class="comment"> */</span>
-00116 <span class="keywordflow">if</span> (BUTTON_HELP == events-&gt;mask) {
-00117 <span class="comment">/*</span>
-00118 <span class="comment"> * Change the mode to help if it's</span>
-00119 <span class="comment"> * currently not set, otherwise go back</span>
-00120 <span class="comment"> * to skin mode.</span>
-00121 <span class="comment"> */</span>
-00122 <span class="keywordflow">if</span> (MODE_HELP == events-&gt;mode) {
-00123 events-&gt;mode = MODE_SKIN;
-00124 } <span class="keywordflow">else</span> {
-00125 events-&gt;mode = MODE_HELP;
-00126 print_string(<span class="stringliteral">"going to help"</span>);print_eol();
-00127 }
-00128 } <span class="keywordflow">else</span> {
-00129 delay;
-00130 }
-00131
-00132 <span class="comment">/*</span>
-00133 <span class="comment"> * The Preset buttons span from 1 to 6 so if</span>
-00134 <span class="comment"> * the mask one of those, we'll change the</span>
-00135 <span class="comment"> * pointer to point to the current preset.</span>
-00136 <span class="comment"> */</span>
-00137 <span class="keywordflow">if</span> ((BUTTON_PRESET_1 &lt;= events-&gt;mask) &amp;&amp; (events-&gt;mask &lt;= BUTTON_PRESET_6)) {
-00138 <span class="comment">/*</span>
-00139 <span class="comment"> * The active preset is determined by</span>
-00140 <span class="comment"> * the mask minus an offset. Hence</span>
-00141 <span class="comment"> * ranging our active preset from 0 to</span>
-00142 <span class="comment"> * 6.</span>
-00143 <span class="comment"> */</span>
-00144 events-&gt;active_preset = 0 @ (events-&gt;mask -BUTTON_PRESET_1);
-00145 <span class="comment">/*</span>
-00146 <span class="comment"> * Each equalizer is 128 bands wide,</span>
-00147 <span class="comment"> * thus we need to add 128 * the preset</span>
-00148 <span class="comment"> * for each different preset. This</span>
-00149 <span class="comment"> * offset is calculated here.</span>
-00150 <span class="comment"> */</span>
-00151 preset_offset = events-&gt;active_preset &lt;&lt; 7;
-00152 <span class="comment">/*</span>
-00153 <span class="comment"> * We set the pointer to the active</span>
-00154 <span class="comment"> * part of the array by using the</span>
-00155 <span class="comment"> * preset offset as our index. Hence</span>
-00156 <span class="comment"> * depending on the selected preset</span>
-00157 <span class="comment"> * we point to 0, 128, 256, 384, 512</span>
-00158 <span class="comment"> * or 640.</span>
-00159 <span class="comment"> */</span>
-00160 audiodata-&gt;equalizer_levels_ptr = &amp;equalizer_levels.read[preset_offset];
-00161 <span class="comment">/*</span>
-00162 <span class="comment"> * Finally update the equalizer bars</span>
-00163 <span class="comment"> * that are drawn by the display.</span>
-00164 <span class="comment"> */</span>
-00165 <a class="code" href="display_8hcc.html#a4">reload_equalizer</a>(events, equalizer_levels.write, preset_offset);
+00075 <span class="keywordflow">while</span> (TRUE) {
+00076 <a class="code" href="display_8hcc.html#a1">maskupdate_notification</a> ? newmaskupdate;
+00077
+00078 <span class="comment">/*</span>
+00079 <span class="comment"> * First we determine what mousestate we currently have. Then</span>
+00080 <span class="comment"> * we check where we are to decide what to do.</span>
+00081 <span class="comment"> */</span>
+00082 <span class="keywordflow">switch</span> (mousedata-&gt;<a class="code" href="structmousedata__t.html#o2">state</a>) {
+00083 <span class="keywordflow">case</span> <a class="code" href="mouse__shared_8hch.html#a4">MOUSE_STATE_ON_PRESS</a>:
+00084 <span class="comment">/*</span>
+00085 <span class="comment"> * If we are displaying the graphic visual,</span>
+00086 <span class="comment"> * any press returns to the application.</span>
+00087 <span class="comment"> */</span>
+00088 <span class="keywordflow">if</span> (<a class="code" href="eventhandler__shared_8hch.html#a3">MODE_GRAPH</a> == events-&gt;<a class="code" href="structevents__t.html#o4">mode</a>) {
+00089 events-&gt;<a class="code" href="structevents__t.html#o4">mode</a> = MODE_SKIN;
+00090 events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> = 0;
+00091 } <span class="keywordflow">else</span> {
+00092 delay;
+00093 }
+00094
+00095 <span class="comment">/*</span>
+00096 <span class="comment"> */</span>
+00097 <span class="keywordflow">if</span> (<a class="code" href="display__shared_8hch.html#a19">BUTTON_MODE</a> == events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) {
+00098 <span class="keywordflow">if</span> (<a class="code" href="eventhandler__shared_8hch.html#a3">MODE_GRAPH</a> == events-&gt;<a class="code" href="structevents__t.html#o4">mode</a>) {
+00099 events-&gt;<a class="code" href="structevents__t.html#o4">mode</a> = MODE_SKIN;
+00100 } <span class="keywordflow">else</span> {
+00101 events-&gt;<a class="code" href="structevents__t.html#o4">mode</a> = MODE_GRAPH;
+00102 }
+00103 } <span class="keywordflow">else</span> {
+00104 delay;
+00105 }
+00106
+00107 <span class="comment">/*</span>
+00108 <span class="comment"> * If the current mask equals the help button</span>
+00109 <span class="comment"> * we set display mode to help.</span>
+00110 <span class="comment"> */</span>
+00111 <span class="keywordflow">if</span> (<a class="code" href="display__shared_8hch.html#a18">BUTTON_HELP</a> == events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) {
+00112 <span class="comment">/*</span>
+00113 <span class="comment"> * Change the mode to help if it's</span>
+00114 <span class="comment"> * currently not set, otherwise go back</span>
+00115 <span class="comment"> * to skin mode.</span>
+00116 <span class="comment"> */</span>
+00117 <span class="keywordflow">if</span> (<a class="code" href="eventhandler__shared_8hch.html#a2">MODE_HELP</a> == events-&gt;<a class="code" href="structevents__t.html#o4">mode</a>) {
+00118 events-&gt;<a class="code" href="structevents__t.html#o4">mode</a> = MODE_SKIN;
+00119 } <span class="keywordflow">else</span> {
+00120 events-&gt;<a class="code" href="structevents__t.html#o4">mode</a> = MODE_HELP;
+00121 }
+00122 } <span class="keywordflow">else</span> {
+00123 delay;
+00124 }
+00125
+00126 <span class="comment">/*</span>
+00127 <span class="comment"> * The Preset buttons span from 1 to 6 so if</span>
+00128 <span class="comment"> * the mask one of those, we'll change the</span>
+00129 <span class="comment"> * pointer to point to the current preset.</span>
+00130 <span class="comment"> */</span>
+00131 <span class="keywordflow">if</span> ((<a class="code" href="display__shared_8hch.html#a7">BUTTON_PRESET_1</a> &lt;= events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) &amp;&amp; (events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> &lt;= BUTTON_PRESET_6)) {
+00132 <span class="comment">/*</span>
+00133 <span class="comment"> * The active preset is determined by</span>
+00134 <span class="comment"> * the mask minus an offset. Hence</span>
+00135 <span class="comment"> * ranging our active preset from 0 to</span>
+00136 <span class="comment"> * 6.</span>
+00137 <span class="comment"> */</span>
+00138 events-&gt;<a class="code" href="structevents__t.html#o1">active_preset</a> = 0 @ (events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> -BUTTON_PRESET_1);
+00139 <span class="comment">/*</span>
+00140 <span class="comment"> * Each equalizer is 128 bands wide,</span>
+00141 <span class="comment"> * thus we need to add 128 * the preset</span>
+00142 <span class="comment"> * for each different preset. This</span>
+00143 <span class="comment"> * offset is calculated here.</span>
+00144 <span class="comment"> */</span>
+00145 preset_offset = events-&gt;<a class="code" href="structevents__t.html#o1">active_preset</a> &lt;&lt; 7;
+00146 <span class="comment">/*</span>
+00147 <span class="comment"> * We set the pointer to the active</span>
+00148 <span class="comment"> * part of the array by using the</span>
+00149 <span class="comment"> * preset offset as our index. Hence</span>
+00150 <span class="comment"> * depending on the selected preset</span>
+00151 <span class="comment"> * we point to 0, 128, 256, 384, 512</span>
+00152 <span class="comment"> * or 640.</span>
+00153 <span class="comment"> */</span>
+00154 audiodata-&gt;<a class="code" href="structaudiodata__t.html#o0">equalizer_levels_ptr</a> = &amp;equalizer_levels.read[preset_offset];
+00155 <span class="comment">/*</span>
+00156 <span class="comment"> * Finally update the equalizer bars</span>
+00157 <span class="comment"> * that are drawn by the display.</span>
+00158 <span class="comment"> */</span>
+00159 <a class="code" href="display_8hcc.html#a3">reload_equalizer</a>(events, &amp;equalizer_levels.write[preset_offset]);
+00160 } <span class="keywordflow">else</span> {
+00161 delay;
+00162 }
+00163
+00164 <span class="keywordflow">if</span> ((<a class="code" href="display__shared_8hch.html#a15">BUTTON_PRECISE</a> &lt;= events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) &amp;&amp; (events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> &lt;= BUTTON_CONVEX_FULL)) {
+00165 events-&gt;<a class="code" href="structevents__t.html#o5">equalizer_mode</a> = (events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> -BUTTON_PRECISE) &lt;-4;
00166 } <span class="keywordflow">else</span> {
00167 delay;
00168 }
00169
-00170 <span class="keywordflow">if</span> ((BUTTON_CONVEX_FULL &lt;= events-&gt;mask) &amp;&amp; (events-&gt;mask &lt;= BUTTON_CONCAVE_FULL)) {
-00171 events-&gt;equalizer_mode = (events-&gt;mask -BUTTON_CONVEX_FULL) &lt;- 3;
-00172 } <span class="keywordflow">else</span> {
-00173 delay;
-00174 }
-00175
-00176 <span class="comment">/*</span>
-00177 <span class="comment"> * If the demo button was pressed load the</span>
-00178 <span class="comment"> * demo preset values into the presets.</span>
-00179 <span class="comment"> */</span>
-00180 <span class="keywordflow">if</span> (BUTTON_DEMO == events-&gt;mask) {
-00181 <a class="code" href="events_8hcc.html#a2">load_preset</a>(ADDRESS_PRESET_DEMO_START, &amp;equalizer_levels.write[0]);
-00182 <a class="code" href="display_8hcc.html#a4">reload_equalizer</a>(events, equalizer_levels.write, preset_offset);
-00183 }
-00184
-00185 <span class="comment">/*</span>
-00186 <span class="comment"> * If the reset button was pressed load the</span>
-00187 <span class="comment"> * reset values into the presets.</span>
-00188 <span class="comment"> */</span>
-00189 <span class="keywordflow">if</span> (BUTTON_RESET == events-&gt;mask) {
-00190 <a class="code" href="events_8hcc.html#a2">load_preset</a>(ADDRESS_PRESET_RESET_START, &amp;equalizer_levels.write[0]);
-00191 <a class="code" href="display_8hcc.html#a4">reload_equalizer</a>(events, equalizer_levels.write, preset_offset);
-00192 }
-00193
-00194 <span class="comment">/*</span>
-00195 <span class="comment"> * If the current mask equals the log button,</span>
-00196 <span class="comment"> * we flip the display_log bit.</span>
-00197 <span class="comment"> */</span>
-00198 <span class="keywordflow">if</span> (BUTTON_LOG == events-&gt;mask) {
-00199 audiodata-&gt;display_log = !audiodata-&gt;display_log;
-00200 } <span class="keywordflow">else</span> {
-00201 delay;
-00202 }
-00203
-00204 <span class="keywordflow">break</span>;
-00205
-00206 <span class="keywordflow">case</span> MOUSE_STATE_DOWN:
-00207 <span class="comment">/*</span>
-00208 <span class="comment"> * If we are in the volume area we update the</span>
-00209 <span class="comment"> * volume level for both channels.</span>
-00210 <span class="comment"> */</span>
-00211 <span class="keywordflow">if</span> (AREA_VOLUME_YAXIS == events-&gt;mask) {
+00170 <span class="comment">/*</span>
+00171 <span class="comment"> * If the demo button was pressed load the</span>
+00172 <span class="comment"> * demo preset values into the presets.</span>
+00173 <span class="comment"> */</span>
+00174 <span class="keywordflow">if</span> (<a class="code" href="display__shared_8hch.html#a5">BUTTON_DEMO</a> == events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) {
+00175 <a class="code" href="events_8hcc.html#a3">load_preset</a>(<a class="code" href="eventhandler_8hch.html#a2">LOAD_PRESET_DEMO</a>, equalizer_levels.write);
+00176 <a class="code" href="display_8hcc.html#a3">reload_equalizer</a>(events, &amp;equalizer_levels.write[preset_offset]);
+00177 }
+00178
+00179 <span class="comment">/*</span>
+00180 <span class="comment"> * If the reset button was pressed load the</span>
+00181 <span class="comment"> * reset values into the presets.</span>
+00182 <span class="comment"> */</span>
+00183 <span class="keywordflow">if</span> (<a class="code" href="display__shared_8hch.html#a6">BUTTON_RESET</a> == events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) {
+00184 <a class="code" href="events_8hcc.html#a3">load_preset</a>(<a class="code" href="eventhandler_8hch.html#a1">LOAD_PRESET_RESET</a>, equalizer_levels.write);
+00185 <a class="code" href="display_8hcc.html#a3">reload_equalizer</a>(events, &amp;equalizer_levels.write[preset_offset]);
+00186 }
+00187
+00188 <span class="comment">/*</span>
+00189 <span class="comment"> * If the current mask equals the log button,</span>
+00190 <span class="comment"> * we flip the display_log bit.</span>
+00191 <span class="comment"> */</span>
+00192 <span class="keywordflow">if</span> (<a class="code" href="display__shared_8hch.html#a4">BUTTON_LOG</a> == events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) {
+00193 audiodata-&gt;<a class="code" href="structaudiodata__t.html#o1">display_log</a> = !audiodata-&gt;<a class="code" href="structaudiodata__t.html#o1">display_log</a>;
+00194 } <span class="keywordflow">else</span> {
+00195 delay;
+00196 }
+00197
+00198 <span class="keywordflow">break</span>;
+00199
+00200 <span class="keywordflow">case</span> <a class="code" href="mouse__shared_8hch.html#a5">MOUSE_STATE_DOWN</a>:
+00201 <span class="comment">/*</span>
+00202 <span class="comment"> * If we are in the volume area we update the</span>
+00203 <span class="comment"> * volume level for both channels.</span>
+00204 <span class="comment"> */</span>
+00205 <span class="keywordflow">if</span> (<a class="code" href="display__shared_8hch.html#a2">AREA_VOLUME_YAXIS</a> == events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) {
+00206 <span class="comment">/*</span>
+00207 <span class="comment"> * Copy the current Y cursor position</span>
+00208 <span class="comment"> * to the events struct. This we then</span>
+00209 <span class="comment"> * later use for drawing purposes.</span>
+00210 <span class="comment"> */</span>
+00211 events-&gt;<a class="code" href="structevents__t.html#o2">volume_position</a> = 0 @ mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a>;
00212 <span class="comment">/*</span>
-00213 <span class="comment"> * Copy the current Y cursor position</span>
-00214 <span class="comment"> * to the events struct. This we then</span>
-00215 <span class="comment"> * later use for drawing purposes.</span>
-00216 <span class="comment"> */</span>
-00217 events-&gt;volume_position = 0 @ mousedata-&gt;y;
-00218 <span class="comment">/*</span>
-00219 <span class="comment"> * Look the relative y-coordinate up in</span>
-00220 <span class="comment"> * the volumecontrol lookup table. We</span>
-00221 <span class="comment"> * make a local copy here because the</span>
-00222 <span class="comment"> * RC200 call doesn't behave nicely</span>
-00223 <span class="comment"> * when passing anything else.</span>
-00224 <span class="comment"> */</span>
-00225 volume_left = volumecontrol_table[((mousedata-&gt;y) -65) &lt;- 6];
-00226 <span class="comment">/*</span>
-00227 <span class="comment"> * We feel that volume gets softer the</span>
-00228 <span class="comment"> * closer it gets to the 0, and louder</span>
-00229 <span class="comment"> * as it approaches 0x1f. The SetVolume</span>
-00230 <span class="comment"> * RC200 call does this in an unnatural</span>
-00231 <span class="comment"> * reverse way. Therefor we fix it.</span>
-00232 <span class="comment"> */</span>
-00233 RC200AudioOutSetVolume(!volume_left, 0x1f -volume_left, 0x1f -volume_left);
-00234 } <span class="keywordflow">else</span> {
-00235 delay;
-00236 }
-00237
-00238 <span class="keywordflow">if</span> ((AREA_EQUALIZER_MIN &lt;= events-&gt;mask) &amp;&amp; (events-&gt;mask &lt;= AREA_EQUALIZER_MAX)) {
-00239
-00240 events-&gt;locked_equalizer = TRUE;
-00241 delay;
-00242 reference_point = events-&gt;equalizer_display[(events-&gt;mask -5 -AREA_EQUALIZER_MIN) &lt;- 7];
-00243
-00244 <span class="keywordflow">for</span> (index_offset = 9; index_offset != 0; index_offset--) {
-00245 <span class="keywordtype">unsigned</span> 10 average_bar;
-00246 <span class="keywordtype">unsigned</span> 7 equalizer_index;
-00247 <span class="keywordtype">unsigned</span> 4 bar_index;
-00248
-00249 <span class="keywordflow">if</span> (index_offset == 5) {
-00250 reference_point = events-&gt;equalizer_display[(events-&gt;mask +5 -AREA_EQUALIZER_MIN) &lt;- 7];
-00251 } <span class="keywordflow">else</span> {
-00252 delay;
-00253 }
-00254
-00255 <span class="keywordflow">if</span> (index_offset &gt; 5) {
-00256 bar_index = (index_offset -5);
+00213 <span class="comment"> * Look the relative y-coordinate up in</span>
+00214 <span class="comment"> * the volumecontrol lookup table. We</span>
+00215 <span class="comment"> * make a local copy here because the</span>
+00216 <span class="comment"> * RC200 call doesn't behave nicely</span>
+00217 <span class="comment"> * when passing anything else.</span>
+00218 <span class="comment"> */</span>
+00219 volume_left = <a class="code" href="eventhandler__shared_8hch.html#a7">volumecontrol_table</a>[((mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a>) -65) &lt;- 6];
+00220 <span class="comment">/*</span>
+00221 <span class="comment"> * We feel that volume gets softer the</span>
+00222 <span class="comment"> * closer it gets to the 0, and louder</span>
+00223 <span class="comment"> * as it approaches 0x1f. The SetVolume</span>
+00224 <span class="comment"> * RC200 call does this in an unnatural</span>
+00225 <span class="comment"> * reverse way. Therefor we fix it.</span>
+00226 <span class="comment"> */</span>
+00227 RC200AudioOutSetVolume(!volume_left, 0x1f -volume_left, 0x1f -volume_left);
+00228 } <span class="keywordflow">else</span> {
+00229 delay;
+00230 }
+00231
+00232 <span class="keywordflow">if</span> ((<a class="code" href="display__shared_8hch.html#a20">AREA_EQUALIZER_MIN</a> &lt;= events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) &amp;&amp; (events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> &lt;= AREA_EQUALIZER_MAX)) {
+00233
+00234 <span class="keywordflow">if</span> (<a class="code" href="eventhandler__shared_8hch.html#a6">EQUALIZERMODE_PRECISE</a> == events-&gt;<a class="code" href="structevents__t.html#o5">equalizer_mode</a>) {
+00235 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = TRUE;
+00236 equalizer_levels.write[preset_offset +(0 @ events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>) -AREA_EQUALIZER_MIN] = <a class="code" href="eventhandler__shared_8hch.html#a8">equalizer_table</a>[mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a> -382];
+00237 events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[(events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> -AREA_EQUALIZER_MIN) &lt;- 7] = mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a>;
+00238 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = FALSE;
+00239 } <span class="keywordflow">else</span> {
+00240
+00241 equalizer_mode_local = events-&gt;<a class="code" href="structevents__t.html#o5">equalizer_mode</a> +1;
+00242
+00243 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = TRUE;
+00244 index_offset = ((equalizer_mode_local &lt;&lt; 1)); <span class="comment">/* delay; */</span>
+00245
+00246 <span class="keywordflow">if</span> (events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> &lt; (<a class="code" href="display__shared_8hch.html#a20">AREA_EQUALIZER_MIN</a> +(0 @ equalizer_mode_local))) {
+00247 reference_point = events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[<a class="code" href="display__shared_8hch.html#a20">AREA_EQUALIZER_MIN</a> -AREA_EQUALIZER_MIN];
+00248 index_offset -= (((0 @ equalizer_mode_local) -(events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> -AREA_EQUALIZER_MIN)) &lt;- 4);
+00249 } <span class="keywordflow">else</span> {
+00250 reference_point = events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[(events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> - (0 @ equalizer_mode_local) -AREA_EQUALIZER_MIN) &lt;- 7];
+00251 index_offset -= 1;
+00252 }
+00253
+00254 <span class="keywordflow">if</span> (events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> &gt; (<a class="code" href="display__shared_8hch.html#a21">AREA_EQUALIZER_MAX</a> -(0 @ equalizer_mode_local))) {
+00255 reference_point_right = events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[<a class="code" href="display__shared_8hch.html#a21">AREA_EQUALIZER_MAX</a> -AREA_EQUALIZER_MIN];
+00256 index_end = (((0 @ equalizer_mode_local) -(<a class="code" href="display__shared_8hch.html#a21">AREA_EQUALIZER_MAX</a> -events-&gt;<a class="code" href="structevents__t.html#o3">mask</a>)) &lt;- 4) -1;
00257 } <span class="keywordflow">else</span> {
-00258 bar_index = (5 -index_offset);
-00259 }
-00260
-00261 <span class="keywordflow">if</span> (reference_point &gt; mousedata-&gt;y) {
-00262 average_bar = mousedata-&gt;y -((reference_point -mousedata-&gt;y) &gt;&gt; (5 - bar_index));
-00263 } <span class="keywordflow">else</span> {
-00264 average_bar = mousedata-&gt;y +((mousedata-&gt;y -reference_point) &gt;&gt; (5 - bar_index));
-00265 }
-00266
-00267 equalizer_index = ((events-&gt;mask +5 -(0 @ index_offset) -AREA_EQUALIZER_MIN) &lt;- 7);
-00268
-00269 events-&gt;equalizer_display[equalizer_index] = average_bar;
-00270 equalizer_levels.write[preset_offset +(0 @ equalizer_index)] = equalizer_table[average_bar -382];
-00271 }
-00272
-00273 events-&gt;locked_equalizer = FALSE;
-00274 } <span class="keywordflow">else</span> {
-00275 delay;
-00276 }
-00277
-00278 <span class="keywordflow">break</span>;
-00279
-00280 <span class="keywordflow">default</span>:
-00281 <span class="keywordflow">break</span>;
-00282 }
-00283 }
-00284 } <span class="comment">/* --- eventhandler_main() --- */</span>
-00285
-00286
-00287
-00288 <span class="comment">/*</span>
-00289 <span class="comment"> * Volume Control lookuptable.</span>
-00290 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
-00291 <span class="comment"> * should be dynamically loaded.</span>
-00292 <span class="comment"> */</span>
-00293 rom <span class="keywordtype">unsigned</span> 5 volumecontrol_table[46] = {31, 31, 30, 30, 29, 29, 28, 28, 27, 27, 26, 26, 25, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0};
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+00258 reference_point_right = events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[(events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> + (0 @ equalizer_mode_local) -AREA_EQUALIZER_MIN) &lt;- 7];
+00259 index_end = 0;
+00260 }
+00261 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = FALSE;
+00262
+00263 <span class="keywordflow">for</span> (; index_offset != index_end; index_offset--) {
+00264 <span class="keywordtype">unsigned</span> 10 average_bar;
+00265 <span class="keywordtype">unsigned</span> 7 equalizer_index;
+00266 <span class="keywordtype">unsigned</span> 4 bar_index;
+00267
+00268 <span class="keywordflow">if</span> (index_offset == equalizer_mode_local) {
+00269 reference_point = reference_point_right;
+00270 } <span class="keywordflow">else</span> {
+00271 delay;
+00272 }
+00273
+00274 <span class="keywordflow">if</span> (index_offset &gt; equalizer_mode_local)
+00275 {
+00276 bar_index = (index_offset -equalizer_mode_local);
+00277 equalizer_index = ((events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> -(0 @ bar_index) -AREA_EQUALIZER_MIN) &lt;- 7);
+00278 } <span class="keywordflow">else</span>
+00279 {
+00280 bar_index = (equalizer_mode_local -index_offset);
+00281 equalizer_index = ((events-&gt;<a class="code" href="structevents__t.html#o3">mask</a> +(0 @ bar_index) -AREA_EQUALIZER_MIN) &lt;- 7);
+00282 }
+00283
+00284 <span class="keywordflow">if</span> (reference_point &gt; mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a>) {
+00285 average_bar = mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a> +((reference_point -mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a>) &gt;&gt; (equalizer_mode_local -bar_index));
+00286 } <span class="keywordflow">else</span> {
+00287 average_bar = mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a> -((mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a> -reference_point) &gt;&gt; (equalizer_mode_local -bar_index));
+00288 }
+00289
+00290 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = TRUE;
+00291 equalizer_levels.write[preset_offset +(0 @ equalizer_index)] = <a class="code" href="eventhandler__shared_8hch.html#a8">equalizer_table</a>[average_bar -382];
+00292 events-&gt;<a class="code" href="structevents__t.html#o0">equalizer_display</a>[equalizer_index] = average_bar;
+00293 events-&gt;<a class="code" href="structevents__t.html#o6">locked_display</a> = FALSE;
+00294 }
+00295 }
+00296 } <span class="keywordflow">else</span> {
+00297 delay;
+00298 }
+00299
+00300 <span class="keywordflow">break</span>;
+00301
+00302 <span class="keywordflow">default</span>:
+00303 <span class="keywordflow">break</span>;
+00304 }
+00305 }
+00306 } <span class="comment">/* --- eventhandler_main() --- */</span>
+00307
+00308
+00309
+00310 <span class="comment">/*</span>
+00311 <span class="comment"> * Volume Control lookuptable.</span>
+00312 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
+00313 <span class="comment"> * should be dynamically loaded.</span>
+00314 <span class="comment"> */</span>
+<a name="l00315"></a><a class="code" href="eventhandler_8hcc.html#a1">00315</a> rom <span class="keywordtype">unsigned</span> 5 <a class="code" href="eventhandler__shared_8hch.html#a7">volumecontrol_table</a>[46] = {31, 31, 30, 30, 29, 29, 28, 28, 27, 27, 26, 26, 25, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0};
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/eventhandler_8hcc.html b/Graphic_Equalizer/doc/html/eventhandler_8hcc.html
index aa0729d..61b9e55 100644
--- a/Graphic_Equalizer/doc/html/eventhandler_8hcc.html
+++ b/Graphic_Equalizer/doc/html/eventhandler_8hcc.html
@@ -1,10 +1,10 @@
<!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/eventhandler.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/eventhandler.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>eventhandler.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
@@ -35,12 +35,17 @@ Include dependency graph for eventhandler.hcc:<p><center><img src="eventhandler_
<a href="eventhandler_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="eventhandler_8hcc.html#a3">eventhandler_main</a> (audiodata_t *audiodata, events_t *events, mousedata_t *mousedata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hcc.html#a2">eventhandler_main</a> (<a class="el" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="el" href="structevents__t.html">events_t</a> *events, <a class="el" href="structmousedata__t.html">mousedata_t</a> *mousedata)</td></tr>
+
+<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">chan unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hcc.html#a0">maskupdate_notification</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">rom unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hcc.html#a1">volumecontrol_table</a> [46] = {31, 31, 30, 30, 29, 29, 28, 28, 27, 27, 26, 26, 25, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0}</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
when the mousehandler registers a 'click' we coordinate the actions that follow that click.<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -55,7 +60,7 @@ Change history</a></h2>
Initial version
<p>
Definition in file <a class="el" href="eventhandler_8hcc-source.html">eventhandler.hcc</a>.<hr><h2>Function Documentation</h2>
-<a class="anchor" name="a3" doxytag="eventhandler.hcc::eventhandler_main"></a><p>
+<a class="anchor" name="a2" doxytag="eventhandler.hcc::eventhandler_main"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -63,19 +68,19 @@ Definition in file <a class="el" href="eventhandler_8hcc-source.html">eventhandl
<tr>
<td class="md" nowrap valign="top">void eventhandler_main </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">audiodata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structaudiodata__t.html">audiodata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>audiodata</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>events_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structevents__t.html">events_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>events</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>mousedata_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structmousedata__t.html">mousedata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>mousedata</em></td>
</tr>
<tr>
@@ -110,21 +115,76 @@ Definition in file <a class="el" href="eventhandler_8hcc-source.html">eventhandl
</dl>
<p>
-Definition at line <a class="el" href="eventhandler_8hcc-source.html#l00063">63</a> of file <a class="el" href="eventhandler_8hcc-source.html">eventhandler.hcc</a>.
+Definition at line <a class="el" href="eventhandler_8hcc-source.html#l00059">59</a> of file <a class="el" href="eventhandler_8hcc-source.html">eventhandler.hcc</a>.
<p>
-References <a class="el" href="events_8hcc-source.html#l00049">load_preset()</a>, and <a class="el" href="display_8hcc-source.html#l00337">reload_equalizer()</a>.
+References <a class="el" href="eventhandler__shared_8hch-source.html#l00031">events_t::active_preset</a>, <a class="el" href="display__shared_8hch-source.html#l00075">AREA_EQUALIZER_MAX</a>, <a class="el" href="display__shared_8hch-source.html#l00074">AREA_EQUALIZER_MIN</a>, <a class="el" href="display__shared_8hch-source.html#l00051">AREA_VOLUME_YAXIS</a>, <a class="el" href="display__shared_8hch-source.html#l00055">BUTTON_DEMO</a>, <a class="el" href="display__shared_8hch-source.html#l00071">BUTTON_HELP</a>, <a class="el" href="display__shared_8hch-source.html#l00054">BUTTON_LOG</a>, <a class="el" href="display__shared_8hch-source.html#l00072">BUTTON_MODE</a>, <a class="el" href="display__shared_8hch-source.html#l00067">BUTTON_PRECISE</a>, <a class="el" href="display__shared_8hch-source.html#l00058">BUTTON_PRESET_1</a>, <a class="el" href="display__shared_8hch-source.html#l00056">BUTTON_RESET</a>, <a class="el" href="audio_8hch-source.html#l00035">audiodata_t::display_log</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00030">events_t::equalizer_display</a>, <a class="el" href="audio_8hch-source.html#l00034">audiodata_t::equalizer_levels_ptr</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00035">events_t::equalizer_mode</a>, <a class="el" href="events_8hcc-source.html#l00075">equalizer_table</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00048">EQUALIZERMODE_PRECISE</a>, <a class="el" href="events_8hcc-source.html#l00053">load_preset()</a>, <a class="el" href="eventhandler_8hch-source.html#l00025">LOAD_PRESET_DEMO</a>, <a class="el" href="eventhandler_8hch-source.html#l00024">LOAD_PRESET_RESET</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00036">events_t::locked_display</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00033">events_t::mask</a>, <a class="el" href="display_8hcc-source.html#l00048">maskupdate_notification</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00034">events_t::mode</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00042">MODE_GRAPH</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00041">MODE_HELP</a>, <a class="el" href="mouse__shared_8hch-source.html#l00048">MOUSE_STATE_DOWN</a>, <a class="el" href="mouse__shared_8hch-source.html#l00047">MOUSE_STATE_ON_PRESS</a>, <a class="el" href="display_8hcc-source.html#l00328">reload_equalizer()</a>, <a class="el" href="mouse__shared_8hch-source.html#l00029">mousedata_t::state</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00032">events_t::volume_position</a>, <a class="el" href="eventhandler_8hcc-source.html#l00315">volumecontrol_table</a>, and <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::y</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
<p>
-Here is the call graph for this function:<p><center><img src="eventhandler_8hcc_a3_cgraph.png" border="0" usemap="#eventhandler_8hcc_a3_cgraph_map" alt=""></center>
-<map name="eventhandler_8hcc_a3_cgraph_map">
-<area href="events_8hcc.html#a2" shape="rect" coords="210,7,301,34" alt="">
-<area href="display_8hcc.html#a4" shape="rect" coords="195,58,315,85" alt="">
+Here is the call graph for this function:<p><center><img src="eventhandler_8hcc_a2_cgraph.png" border="0" usemap="#eventhandler_8hcc_a2_cgraph_map" alt=""></center>
+<map name="eventhandler_8hcc_a2_cgraph_map">
+<area href="events_8hcc.html#a3" shape="rect" coords="210,7,301,34" alt="">
+<area href="display_8hcc.html#a3" shape="rect" coords="195,58,315,85" alt="">
</map>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:49 2004 for Graphic Equalizer by&nbsp;
+<hr><h2>Variable Documentation</h2>
+<a class="anchor" name="a0" doxytag="eventhandler.hcc::maskupdate_notification"></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">chan unsigned <a class="el" href="eventhandler_8hcc.html#a0">maskupdate_notification</a> </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="display_8hcc-source.html#l00048">48</a> of file <a class="el" href="display_8hcc-source.html">display.hcc</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="eventhandler.hcc::volumecontrol_table"></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">rom unsigned <a class="el" href="eventhandler_8hcc.html#a1">volumecontrol_table</a>[46] = {31, 31, 30, 30, 29, 29, 28, 28, 27, 27, 26, 26, 25, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0} </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler_8hcc-source.html#l00315">315</a> of file <a class="el" href="eventhandler_8hcc-source.html">eventhandler.hcc</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:15 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/eventhandler_8hch-source.html b/Graphic_Equalizer/doc/html/eventhandler_8hch-source.html
index 919fa29..cfa1298 100644
--- a/Graphic_Equalizer/doc/html/eventhandler_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/eventhandler_8hch-source.html
@@ -1,31 +1,35 @@
<!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/include/eventhandler.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/eventhandler.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>eventhandler.hch</h1><a href="eventhandler_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _EVENTHANDLER_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _EVENTHANDLER_HCH 1</span>
+<a name="l00020"></a><a class="code" href="eventhandler_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _EVENTHANDLER_HCH 1</span>
00021 <span class="preprocessor"></span>
00022
00023
-00024
-00025 <span class="comment">/*</span>
-00026 <span class="comment"> * This is the main eventhandler loop. We require pointers to the event struct</span>
-00027 <span class="comment"> * to store actions to be performed and a mousedata pointer so that we know on</span>
-00028 <span class="comment"> * what mousestate to respond. We never returns!</span>
-00029 <span class="comment"> */</span>
-00030 <span class="keywordtype">void</span> <a class="code" href="eventhandler_8hcc.html#a3">eventhandler_main</a>(audiodata_t *audiodata, events_t *events, mousedata_t *mousedata);
-00031
-00032 <span class="preprocessor">#else</span>
-00033 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file eventhandler.hch multiple times included"</span>
-00034 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _EVENTHANDLER_HCH --- */</span>
+<a name="l00024"></a><a class="code" href="eventhandler_8hch.html#a1">00024</a> <span class="preprocessor">#define LOAD_PRESET_RESET 0x000</span>
+<a name="l00025"></a><a class="code" href="eventhandler_8hch.html#a2">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define LOAD_PRESET_DEMO 0x180</span>
+00026 <span class="preprocessor"></span>
+00027
+00028
+00029 <span class="comment">/*</span>
+00030 <span class="comment"> * This is the main eventhandler loop. We require pointers to the event struct</span>
+00031 <span class="comment"> * to store actions to be performed and a mousedata pointer so that we know on</span>
+00032 <span class="comment"> * what mousestate to respond. We never returns!</span>
+00033 <span class="comment"> */</span>
+00034 <span class="keywordtype">void</span> <a class="code" href="eventhandler_8hcc.html#a2">eventhandler_main</a>(<a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="code" href="structevents__t.html">events_t</a> *events, <a class="code" href="structmousedata__t.html">mousedata_t</a> *mousedata);
00035
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+00036 <span class="preprocessor">#else</span>
+00037 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file eventhandler.hch multiple times included"</span>
+00038 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _EVENTHANDLER_HCH --- */</span>
+00039
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:08 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/eventhandler_8hch.html b/Graphic_Equalizer/doc/html/eventhandler_8hch.html
index 6589138..ca788a7 100644
--- a/Graphic_Equalizer/doc/html/eventhandler_8hch.html
+++ b/Graphic_Equalizer/doc/html/eventhandler_8hch.html
@@ -1,10 +1,10 @@
<!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/include/eventhandler.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/eventhandler.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>eventhandler.hch File Reference</h1>
@@ -18,13 +18,20 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="eventhandler_8hch-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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hch.html#a0">_EVENTHANDLER_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hch.html#a1">LOAD_PRESET_RESET</a>&nbsp;&nbsp;&nbsp;0x000</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hch.html#a2">LOAD_PRESET_DEMO</a>&nbsp;&nbsp;&nbsp;0x180</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="eventhandler_8hch.html#a1">eventhandler_main</a> (audiodata_t *audiodata, events_t *events, mousedata_t *mousedata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler_8hch.html#a3">eventhandler_main</a> (<a class="el" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="el" href="structevents__t.html">events_t</a> *events, <a class="el" href="structmousedata__t.html">mousedata_t</a> *mousedata)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -38,8 +45,88 @@ Change history</a></h2>
20041110: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="eventhandler_8hch-source.html">eventhandler.hch</a>.<hr><h2>Function Documentation</h2>
-<a class="anchor" name="a1" doxytag="eventhandler.hch::eventhandler_main"></a><p>
+Definition in file <a class="el" href="eventhandler_8hch-source.html">eventhandler.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="eventhandler.hch::_EVENTHANDLER_HCH"></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">#define _EVENTHANDLER_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler_8hch-source.html#l00020">20</a> of file <a class="el" href="eventhandler_8hch-source.html">eventhandler.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="eventhandler.hch::LOAD_PRESET_RESET"></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">#define LOAD_PRESET_RESET&nbsp;&nbsp;&nbsp;0x000 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler_8hch-source.html#l00024">24</a> of file <a class="el" href="eventhandler_8hch-source.html">eventhandler.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="eventhandler.hch::LOAD_PRESET_DEMO"></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">#define LOAD_PRESET_DEMO&nbsp;&nbsp;&nbsp;0x180 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler_8hch-source.html#l00025">25</a> of file <a class="el" href="eventhandler_8hch-source.html">eventhandler.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a3" doxytag="eventhandler.hch::eventhandler_main"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -47,19 +134,19 @@ Definition in file <a class="el" href="eventhandler_8hch-source.html">eventhandl
<tr>
<td class="md" nowrap valign="top">void eventhandler_main </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">audiodata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structaudiodata__t.html">audiodata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>audiodata</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>events_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structevents__t.html">events_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>events</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>mousedata_t *&nbsp;</td>
+ <td class="md" nowrap><a class="el" href="structmousedata__t.html">mousedata_t</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>mousedata</em></td>
</tr>
<tr>
@@ -94,21 +181,21 @@ Definition in file <a class="el" href="eventhandler_8hch-source.html">eventhandl
</dl>
<p>
-Definition at line <a class="el" href="eventhandler_8hcc-source.html#l00063">63</a> of file <a class="el" href="eventhandler_8hcc-source.html">eventhandler.hcc</a>.
+Definition at line <a class="el" href="eventhandler_8hcc-source.html#l00059">59</a> of file <a class="el" href="eventhandler_8hcc-source.html">eventhandler.hcc</a>.
<p>
-References <a class="el" href="events_8hcc-source.html#l00049">load_preset()</a>, and <a class="el" href="display_8hcc-source.html#l00337">reload_equalizer()</a>.
+References <a class="el" href="eventhandler__shared_8hch-source.html#l00031">events_t::active_preset</a>, <a class="el" href="display__shared_8hch-source.html#l00075">AREA_EQUALIZER_MAX</a>, <a class="el" href="display__shared_8hch-source.html#l00074">AREA_EQUALIZER_MIN</a>, <a class="el" href="display__shared_8hch-source.html#l00051">AREA_VOLUME_YAXIS</a>, <a class="el" href="display__shared_8hch-source.html#l00055">BUTTON_DEMO</a>, <a class="el" href="display__shared_8hch-source.html#l00071">BUTTON_HELP</a>, <a class="el" href="display__shared_8hch-source.html#l00054">BUTTON_LOG</a>, <a class="el" href="display__shared_8hch-source.html#l00072">BUTTON_MODE</a>, <a class="el" href="display__shared_8hch-source.html#l00067">BUTTON_PRECISE</a>, <a class="el" href="display__shared_8hch-source.html#l00058">BUTTON_PRESET_1</a>, <a class="el" href="display__shared_8hch-source.html#l00056">BUTTON_RESET</a>, <a class="el" href="audio_8hch-source.html#l00035">audiodata_t::display_log</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00030">events_t::equalizer_display</a>, <a class="el" href="audio_8hch-source.html#l00034">audiodata_t::equalizer_levels_ptr</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00035">events_t::equalizer_mode</a>, <a class="el" href="events_8hcc-source.html#l00075">equalizer_table</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00048">EQUALIZERMODE_PRECISE</a>, <a class="el" href="events_8hcc-source.html#l00053">load_preset()</a>, <a class="el" href="eventhandler_8hch-source.html#l00025">LOAD_PRESET_DEMO</a>, <a class="el" href="eventhandler_8hch-source.html#l00024">LOAD_PRESET_RESET</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00036">events_t::locked_display</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00033">events_t::mask</a>, <a class="el" href="display_8hcc-source.html#l00048">maskupdate_notification</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00034">events_t::mode</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00042">MODE_GRAPH</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00041">MODE_HELP</a>, <a class="el" href="mouse__shared_8hch-source.html#l00048">MOUSE_STATE_DOWN</a>, <a class="el" href="mouse__shared_8hch-source.html#l00047">MOUSE_STATE_ON_PRESS</a>, <a class="el" href="display_8hcc-source.html#l00328">reload_equalizer()</a>, <a class="el" href="mouse__shared_8hch-source.html#l00029">mousedata_t::state</a>, <a class="el" href="eventhandler__shared_8hch-source.html#l00032">events_t::volume_position</a>, <a class="el" href="eventhandler_8hcc-source.html#l00315">volumecontrol_table</a>, and <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::y</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
<p>
-Here is the call graph for this function:<p><center><img src="eventhandler_8hch_a1_cgraph.png" border="0" usemap="#eventhandler_8hch_a1_cgraph_map" alt=""></center>
-<map name="eventhandler_8hch_a1_cgraph_map">
-<area href="events_8hcc.html#a2" shape="rect" coords="210,7,301,34" alt="">
-<area href="display_8hcc.html#a4" shape="rect" coords="195,58,315,85" alt="">
+Here is the call graph for this function:<p><center><img src="eventhandler_8hch_a3_cgraph.png" border="0" usemap="#eventhandler_8hch_a3_cgraph_map" alt=""></center>
+<map name="eventhandler_8hch_a3_cgraph_map">
+<area href="events_8hcc.html#a3" shape="rect" coords="210,7,301,34" alt="">
+<area href="display_8hcc.html#a3" shape="rect" coords="195,58,315,85" alt="">
</map>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:12 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/eventhandler__shared_8hch-source.html b/Graphic_Equalizer/doc/html/eventhandler__shared_8hch-source.html
index f7b6e57..1bb5bf7 100644
--- a/Graphic_Equalizer/doc/html/eventhandler__shared_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/eventhandler__shared_8hch-source.html
@@ -1,15 +1,15 @@
<!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/include/eventhandler_shared.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/eventhandler_shared.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>eventhandler_shared.hch</h1><a href="eventhandler__shared_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _EVENTHANDLER_SHARED_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _EVENTHANDLER_SHARED_HCH 1</span>
+<a name="l00020"></a><a class="code" href="eventhandler__shared_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _EVENTHANDLER_SHARED_HCH 1</span>
00021 <span class="preprocessor"></span>
00022
00023
@@ -18,53 +18,50 @@
00026 <span class="comment">/*</span>
00027 <span class="comment"> * Type definition of the shared memory to be used in various processes</span>
00028 <span class="comment"> */</span>
-00029 <span class="keyword">typedef</span> <span class="keyword">struct </span>{
-00030 ram <span class="keywordtype">unsigned</span> 10 equalizer_display[128];
-00031 <span class="keywordtype">unsigned</span> 10 active_preset;
-00032 <span class="keywordtype">unsigned</span> 10 volume_position;
-00033 <span class="keywordtype">unsigned</span> 8 mask;
-00034 <span class="keywordtype">unsigned</span> 4 mode;
-00035 <span class="keywordtype">unsigned</span> 3 equalizer_mode;
-00036 <span class="keywordtype">unsigned</span> 1 locked_equalizer;
-00037 } events_t;
+<a name="l00029"></a><a class="code" href="structevents__t.html">00029</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
+<a name="l00030"></a><a class="code" href="structevents__t.html#o0">00030</a> ram <span class="keywordtype">unsigned</span> 10 equalizer_display[128];
+<a name="l00031"></a><a class="code" href="structevents__t.html#o1">00031</a> <span class="keywordtype">unsigned</span> 10 active_preset;
+<a name="l00032"></a><a class="code" href="structevents__t.html#o2">00032</a> <span class="keywordtype">unsigned</span> 10 volume_position;
+<a name="l00033"></a><a class="code" href="structevents__t.html#o3">00033</a> <span class="keywordtype">unsigned</span> 8 mask;
+<a name="l00034"></a><a class="code" href="structevents__t.html#o4">00034</a> <span class="keywordtype">unsigned</span> 4 mode;
+<a name="l00035"></a><a class="code" href="structevents__t.html#o5">00035</a> <span class="keywordtype">unsigned</span> 4 equalizer_mode;
+<a name="l00036"></a><a class="code" href="structevents__t.html#o6">00036</a> <span class="keywordtype">unsigned</span> 1 locked_display;
+00037 } <a class="code" href="structevents__t.html">events_t</a>;
00038
00039
-00040 <span class="preprocessor">#define MODE_SKIN 0x00</span>
-00041 <span class="preprocessor"></span><span class="preprocessor">#define MODE_HELP 0x01</span>
-00042 <span class="preprocessor"></span><span class="preprocessor">#define MODE_GRAPH 0x02</span>
+<a name="l00040"></a><a class="code" href="eventhandler__shared_8hch.html#a1">00040</a> <span class="preprocessor">#define MODE_SKIN 0x00</span>
+<a name="l00041"></a><a class="code" href="eventhandler__shared_8hch.html#a2">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define MODE_HELP 0x01</span>
+<a name="l00042"></a><a class="code" href="eventhandler__shared_8hch.html#a3">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define MODE_GRAPH 0x02</span>
00043 <span class="preprocessor"></span>
00044
00045
-00046 <span class="preprocessor">#define EQUALIZERMODE_CONVEX_FULL 0x05</span>
-00047 <span class="preprocessor"></span><span class="preprocessor">#define EQUALIZERMODE_CONVEX_HALF 0x03</span>
-00048 <span class="preprocessor"></span><span class="preprocessor">#define EQUALIZERMODE_PRECISE 0x01</span>
-00049 <span class="preprocessor"></span><span class="preprocessor">#define EQUALIZERMODE_CONCAVE_HALF 0x02</span>
-00050 <span class="preprocessor"></span><span class="preprocessor">#define EQUALIZERMODE_CONCAVE_FULL 0x04</span>
-00051 <span class="preprocessor"></span>
-00052
-00053
-00054 <span class="comment">/*</span>
-00055 <span class="comment"> * Volume Control lookuptable.</span>
-00056 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
-00057 <span class="comment"> * should be dynamically loaded.</span>
-00058 <span class="comment"> */</span>
-00059 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> 5 volumecontrol_table[46];
-00060
-00061 <span class="comment">/*</span>
-00062 <span class="comment"> * Equalizer lookup tables.</span>
-00063 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
-00064 <span class="comment"> * should be dynamically loaded.</span>
-00065 <span class="comment"> */</span>
-00066 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> 4 equalizer_table[640];
-00067 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> 10 equalizer_table_inv[16];
-00068
-00069
-00070
-00071 <span class="preprocessor">#else</span>
-00072 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file eventhandler_shared.hch multiple times included"</span>
-00073 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _EVENTHANDLER_SHARED_HCH --- */</span>
-00074
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+<a name="l00046"></a><a class="code" href="eventhandler__shared_8hch.html#a4">00046</a> <span class="preprocessor">#define EQUALIZERMODE_FULL 0x05</span>
+<a name="l00047"></a><a class="code" href="eventhandler__shared_8hch.html#a5">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define EQUALIZERMODE_HALF 0x03</span>
+<a name="l00048"></a><a class="code" href="eventhandler__shared_8hch.html#a6">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define EQUALIZERMODE_PRECISE 0x00</span>
+00049 <span class="preprocessor"></span>
+00050
+00051 <span class="comment">/*</span>
+00052 <span class="comment"> * Volume Control lookuptable.</span>
+00053 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
+00054 <span class="comment"> * should be dynamically loaded.</span>
+00055 <span class="comment"> */</span>
+00056 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> 5 <a class="code" href="eventhandler__shared_8hch.html#a7">volumecontrol_table</a>[46];
+00057
+00058 <span class="comment">/*</span>
+00059 <span class="comment"> * Equalizer lookup tables.</span>
+00060 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
+00061 <span class="comment"> * should be dynamically loaded.</span>
+00062 <span class="comment"> */</span>
+00063 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> 4 <a class="code" href="eventhandler__shared_8hch.html#a8">equalizer_table</a>[640];
+00064 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> 10 <a class="code" href="eventhandler__shared_8hch.html#a9">equalizer_table_inv</a>[16];
+00065
+00066
+00067
+00068 <span class="preprocessor">#else</span>
+00069 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file eventhandler_shared.hch multiple times included"</span>
+00070 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _EVENTHANDLER_SHARED_HCH --- */</span>
+00071
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/eventhandler__shared_8hch.html b/Graphic_Equalizer/doc/html/eventhandler__shared_8hch.html
index fa53964..a019f15 100644
--- a/Graphic_Equalizer/doc/html/eventhandler__shared_8hch.html
+++ b/Graphic_Equalizer/doc/html/eventhandler__shared_8hch.html
@@ -1,10 +1,10 @@
<!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/include/eventhandler_shared.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/eventhandler_shared.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>eventhandler_shared.hch File Reference</h1>
@@ -21,10 +21,35 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="eventhandler__shared_8hch-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>Data Structures</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structevents__t.html">events_t</a></td></tr>
+
+<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a0">_EVENTHANDLER_SHARED_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a1">MODE_SKIN</a>&nbsp;&nbsp;&nbsp;0x00</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a2">MODE_HELP</a>&nbsp;&nbsp;&nbsp;0x01</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a3">MODE_GRAPH</a>&nbsp;&nbsp;&nbsp;0x02</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a4">EQUALIZERMODE_FULL</a>&nbsp;&nbsp;&nbsp;0x05</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a5">EQUALIZERMODE_HALF</a>&nbsp;&nbsp;&nbsp;0x03</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a6">EQUALIZERMODE_PRECISE</a>&nbsp;&nbsp;&nbsp;0x00</td></tr>
+
+<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a7">volumecontrol_table</a> [46]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a8">equalizer_table</a> [640]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eventhandler__shared_8hch.html#a9">equalizer_table_inv</a> [16]</td></tr>
+
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -38,7 +63,271 @@ Change history</a></h2>
20041110: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>.<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+Definition in file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="eventhandler_shared.hch::_EVENTHANDLER_SHARED_HCH"></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">#define _EVENTHANDLER_SHARED_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler__shared_8hch-source.html#l00020">20</a> of file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="eventhandler_shared.hch::MODE_SKIN"></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">#define MODE_SKIN&nbsp;&nbsp;&nbsp;0x00 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler__shared_8hch-source.html#l00040">40</a> of file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="eventhandler_shared.hch::MODE_HELP"></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">#define MODE_HELP&nbsp;&nbsp;&nbsp;0x01 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler__shared_8hch-source.html#l00041">41</a> of file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="eventhandler_shared.hch::MODE_GRAPH"></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">#define MODE_GRAPH&nbsp;&nbsp;&nbsp;0x02 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler__shared_8hch-source.html#l00042">42</a> of file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, and <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="eventhandler_shared.hch::EQUALIZERMODE_FULL"></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">#define EQUALIZERMODE_FULL&nbsp;&nbsp;&nbsp;0x05 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler__shared_8hch-source.html#l00046">46</a> of file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a5" doxytag="eventhandler_shared.hch::EQUALIZERMODE_HALF"></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">#define EQUALIZERMODE_HALF&nbsp;&nbsp;&nbsp;0x03 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler__shared_8hch-source.html#l00047">47</a> of file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a6" doxytag="eventhandler_shared.hch::EQUALIZERMODE_PRECISE"></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">#define EQUALIZERMODE_PRECISE&nbsp;&nbsp;&nbsp;0x00 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler__shared_8hch-source.html#l00048">48</a> of file <a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Variable Documentation</h2>
+<a class="anchor" name="a7" doxytag="eventhandler_shared.hch::volumecontrol_table"></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 <a class="el" href="eventhandler_8hcc.html#a1">volumecontrol_table</a>[46] </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="eventhandler_8hcc-source.html#l00315">315</a> of file <a class="el" href="eventhandler_8hcc-source.html">eventhandler.hcc</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a8" doxytag="eventhandler_shared.hch::equalizer_table"></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 <a class="el" href="events_8hcc.html#a1">equalizer_table</a>[640] </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="events_8hcc-source.html#l00075">75</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a9" doxytag="eventhandler_shared.hch::equalizer_table_inv"></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 <a class="el" href="events_8hcc.html#a2">equalizer_table_inv</a>[16] </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="events_8hcc-source.html#l00076">76</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00328">reload_equalizer()</a>. </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:12 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/events_8hcc-source.html b/Graphic_Equalizer/doc/html/events_8hcc-source.html
index 2b40607..5303579 100644
--- a/Graphic_Equalizer/doc/html/events_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/events_8hcc-source.html
@@ -1,10 +1,10 @@
<!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/events.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/events.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>events.hcc</h1><a href="events_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
@@ -23,51 +23,37 @@
00034 <span class="preprocessor">#endif</span>
00035 <span class="preprocessor"></span>
00036
-<a name="l00049"></a><a class="code" href="events_8hcc.html#a2">00049</a> <span class="keywordtype">void</span> <a class="code" href="events_8hcc.html#a2">load_preset</a>(<span class="keywordtype">unsigned</span> 20 preset_address, <span class="keywordtype">unsigned</span> 4 *equalizer_levels) {
-00050 macro expr RAM_BANK0 = PalPL2RAMCT(0);
-00051 macro expr AW = PalPL2RAMGetMaxAddressWidthCT();
-00052 macro expr DW = PalPL2RAMGetMaxDataWidthCT();
-00053
-00054 <span class="keywordtype">unsigned</span> DW data;
-00055 <span class="keywordtype">unsigned</span> AW address;
-00056 <span class="keywordtype">unsigned</span> 10 equalizer_index;
-00057
-00058 address = preset_address;
-00059 <span class="comment">/*</span>
-00060 <span class="comment"> * PL2Ram needs a clockclycle between the set of an address and read.</span>
-00061 <span class="comment"> * Therefore we set it once here.</span>
-00062 <span class="comment"> */</span>
-00063 PalPL2RAMSetReadAddress(RAM_BANK0, address);
-00064
-00065 <span class="comment">/*</span>
-00066 <span class="comment"> *</span>
-00067 <span class="comment"> */</span>
-00068 <span class="keywordflow">for</span> (equalizer_index = 0; equalizer_index != 768; equalizer_index += 2) {
-00069 <span class="comment">/*</span>
-00070 <span class="comment"> * We've allready set the address hence we can allready</span>
-00071 <span class="comment"> * increase it for next use.</span>
-00072 <span class="comment"> */</span>
-00073 address++;
-00074
-00075 PalPL2RAMRead(RAM_BANK0, &amp;data);
-00076 <span class="preprocessor">#if HAVE_DEBUG</span>
-00077 <span class="preprocessor"></span> print_hex_value(0 @ data[3:0]);print_string(<span class="stringliteral">" "</span>);print_hex_value(0 @ data[7:4]);print_eol();
-00078 <span class="preprocessor">#endif</span>
-00079 <span class="preprocessor"></span> equalizer_levels[equalizer_index] = data[3:0];
-00080 equalizer_levels[equalizer_index +1] = data[7:4];
-00081 }
-00082 } <span class="comment">/* --- load_preset() --- */</span>
-00083
-00084
-00085
-00086 <span class="comment">/*</span>
-00087 <span class="comment"> * Equalizer lookuptabes.</span>
-00088 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
-00089 <span class="comment"> * should be dynamically loaded.</span>
-00090 <span class="comment"> */</span>
-00091 ram <span class="keywordtype">unsigned</span> 4 equalizer_table[640] = {15, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0};
-00092 ram <span class="keywordtype">unsigned</span> 10 equalizer_table_inv[16] = {446, 444, 440, 436, 432, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 384};
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+<a name="l00037"></a><a class="code" href="events_8hcc.html#a0">00037</a> ram <span class="keywordtype">unsigned</span> 8 <a class="code" href="events_8hcc.html#a0">presets_default_values</a>[768] = {
+00038 <span class="preprocessor">#include "presets_hardcoded.txt"</span>
+00039 };
+00040
+00041
+00042
+<a name="l00053"></a><a class="code" href="events_8hcc.html#a3">00053</a> <span class="keywordtype">void</span> <a class="code" href="events_8hcc.html#a3">load_preset</a>(<span class="keywordtype">unsigned</span> 10 preset, <span class="keywordtype">unsigned</span> 4 *equalizer_levels_ptr) {
+00054 <span class="keywordtype">unsigned</span> 10 equalizer_index;
+00055 <span class="keywordtype">unsigned</span> 4 temp;
+00056
+00057 equalizer_index = 0;
+00058 <span class="keywordflow">while</span> (equalizer_index != 768) {
+00059 temp = <a class="code" href="events_8hcc.html#a0">presets_default_values</a>[preset +(0 @ (equalizer_index \\ 1))][7:4];
+00060 equalizer_levels_ptr[equalizer_index] = temp;
+00061 temp = <a class="code" href="events_8hcc.html#a0">presets_default_values</a>[preset +(0 @ (equalizer_index \\ 1))][3:0];
+00062 equalizer_levels_ptr[equalizer_index +1] = temp;
+00063
+00064 equalizer_index += 2;
+00065 }
+00066 } <span class="comment">/* --- load_preset() --- */</span>
+00067
+00068
+00069
+00070 <span class="comment">/*</span>
+00071 <span class="comment"> * Equalizer lookuptabes.</span>
+00072 <span class="comment"> * TODO: This table is now hardcoded. To ensure full skinability this table</span>
+00073 <span class="comment"> * should be dynamically loaded.</span>
+00074 <span class="comment"> */</span>
+<a name="l00075"></a><a class="code" href="events_8hcc.html#a1">00075</a> ram <span class="keywordtype">unsigned</span> 4 <a class="code" href="eventhandler__shared_8hch.html#a8">equalizer_table</a>[640] = {15, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0};
+<a name="l00076"></a><a class="code" href="events_8hcc.html#a2">00076</a> ram <span class="keywordtype">unsigned</span> 10 <a class="code" href="eventhandler__shared_8hch.html#a9">equalizer_table_inv</a>[16] = {446, 444, 440, 436, 432, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 384};
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/events_8hcc.html b/Graphic_Equalizer/doc/html/events_8hcc.html
index a551e99..a286ca3 100644
--- a/Graphic_Equalizer/doc/html/events_8hcc.html
+++ b/Graphic_Equalizer/doc/html/events_8hcc.html
@@ -1,10 +1,10 @@
<!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/events.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/events.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>events.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
@@ -12,26 +12,34 @@
<code>#include "<a class="el" href="configuration_8hch-source.html">configuration.hch</a>"</code><br>
<code>#include "<a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>"</code><br>
<code>#include "<a class="el" href="events_8hch-source.html">events.hch</a>"</code><br>
+<code>#include "presets_hardcoded.txt"</code><br>
<p>
Include dependency graph for events.hcc:<p><center><img src="events_8hcc__incl.png" border="0" usemap="#events.hcc_map" alt="Include dependency graph"></center>
<map name="events.hcc_map">
<area href="configuration_8hch.html" shape="rect" coords="245,7,370,34" alt="">
-<area href="eventhandler__shared_8hch.html" shape="rect" coords="394,7,567,34" alt="">
-<area href="events_8hch.html" shape="rect" coords="591,7,677,34" alt="">
+<area href="eventhandler__shared_8hch.html" shape="rect" coords="394,7,568,34" alt="">
+<area href="events_8hch.html" shape="rect" coords="592,7,677,34" alt="">
</map>
<p>
<a href="events_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="events_8hcc.html#a2">load_preset</a> (unsigned 20 preset_address, unsigned 4 *equalizer_levels)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a3">load_preset</a> (unsigned 10 preset, unsigned 4 *equalizer_levels_ptr)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function loads 768 4bits presets into the equalizer_levels array pointed to by equalizer_levels. <a href="#a3"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">ram unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a0">presets_default_values</a> [768]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">ram unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a1">equalizer_table</a> [640] = {15, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0}</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">ram unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a2">equalizer_table_inv</a> [16] = {446, 444, 440, 436, 432, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 384}</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function loads 768 4bits presets into the equalizer_levels array pointed to by equalizer_levels. <a href="#a2"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
that need to be performed.<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -46,7 +54,7 @@ Change history</a></h2>
Initial version
<p>
Definition in file <a class="el" href="events_8hcc-source.html">events.hcc</a>.<hr><h2>Function Documentation</h2>
-<a class="anchor" name="a2" doxytag="events.hcc::load_preset"></a><p>
+<a class="anchor" name="a3" doxytag="events.hcc::load_preset"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -54,14 +62,14 @@ Definition in file <a class="el" href="events_8hcc-source.html">events.hcc</a>.<
<tr>
<td class="md" nowrap valign="top">void load_preset </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">unsigned 20&nbsp;</td>
- <td class="mdname" nowrap> <em>preset_address</em>, </td>
+ <td class="md" nowrap valign="top">unsigned 10&nbsp;</td>
+ <td class="mdname" nowrap> <em>preset</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>unsigned 4 *&nbsp;</td>
- <td class="mdname" nowrap> <em>equalizer_levels</em></td>
+ <td class="mdname" nowrap> <em>equalizer_levels_ptr</em></td>
</tr>
<tr>
<td class="md"></td>
@@ -84,8 +92,7 @@ This function loads 768 4bits presets into the equalizer_levels array pointed to
<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>preset_address</em>&nbsp;</td><td>PL2Ram address where preset to be loaded is. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>*equalizer_levels</em>&nbsp;</td><td>Location where to store presets loaded from ram.</td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>*equalizer_levels</em>&nbsp;</td><td>Location where to store presets loaded from blockram.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>
@@ -96,12 +103,99 @@ This function loads 768 4bits presets into the equalizer_levels array pointed to
</dl>
<p>
-Definition at line <a class="el" href="events_8hcc-source.html#l00049">49</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+Definition at line <a class="el" href="events_8hcc-source.html#l00053">53</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+<p>
+References <a class="el" href="events_8hcc-source.html#l00037">presets_default_values</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Variable Documentation</h2>
+<a class="anchor" name="a0" doxytag="events.hcc::presets_default_values"></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">ram unsigned <a class="el" href="events_8hcc.html#a0">presets_default_values</a>[768] </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
+
+}
+</pre></div>
+<p>
+Definition at line <a class="el" href="events_8hcc-source.html#l00037">37</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+<p>
+Referenced by <a class="el" href="events_8hcc-source.html#l00053">load_preset()</a>, and <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="events.hcc::equalizer_table"></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">ram unsigned <a class="el" href="events_8hcc.html#a1">equalizer_table</a>[640] = {15, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0} </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="events_8hcc-source.html#l00075">75</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="events.hcc::equalizer_table_inv"></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">ram unsigned <a class="el" href="events_8hcc.html#a2">equalizer_table_inv</a>[16] = {446, 444, 440, 436, 432, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 384} </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="events_8hcc-source.html#l00076">76</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
<p>
-Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00063">eventhandler_main()</a>. </td>
+Referenced by <a class="el" href="display_8hcc-source.html#l00328">reload_equalizer()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:49 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:16 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/events_8hcc__incl.map b/Graphic_Equalizer/doc/html/events_8hcc__incl.map
index 40eb374..e45f3ce 100644
--- a/Graphic_Equalizer/doc/html/events_8hcc__incl.map
+++ b/Graphic_Equalizer/doc/html/events_8hcc__incl.map
@@ -1,4 +1,4 @@
base referer
rect $configuration_8hch.html 245,7 370,34
-rect $eventhandler__shared_8hch.html 394,7 567,34
-rect $events_8hch.html 591,7 677,34
+rect $eventhandler__shared_8hch.html 394,7 568,34
+rect $events_8hch.html 592,7 677,34
diff --git a/Graphic_Equalizer/doc/html/events_8hcc__incl.md5 b/Graphic_Equalizer/doc/html/events_8hcc__incl.md5
index e5760e1..4d585b8 100644
--- a/Graphic_Equalizer/doc/html/events_8hcc__incl.md5
+++ b/Graphic_Equalizer/doc/html/events_8hcc__incl.md5
@@ -1 +1 @@
-6504988e199f039ead53f7a591708e99 \ No newline at end of file
+02bd65e19ec52f3ed8fe65e35b542b88 \ No newline at end of file
diff --git a/Graphic_Equalizer/doc/html/events_8hcc__incl.png b/Graphic_Equalizer/doc/html/events_8hcc__incl.png
index 1660014..6e1fc82 100644
--- a/Graphic_Equalizer/doc/html/events_8hcc__incl.png
+++ b/Graphic_Equalizer/doc/html/events_8hcc__incl.png
Binary files differ
diff --git a/Graphic_Equalizer/doc/html/events_8hch-source.html b/Graphic_Equalizer/doc/html/events_8hch-source.html
index c08b5c9..075310c 100644
--- a/Graphic_Equalizer/doc/html/events_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/events_8hch-source.html
@@ -1,15 +1,15 @@
<!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/include/events.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/events.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>events.hch</h1><a href="events_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00020 <span class="preprocessor">#ifndef _EVENTS_HCH</span>
-00021 <span class="preprocessor"></span><span class="preprocessor">#define _EVENTS_HCH 1</span>
+<a name="l00021"></a><a class="code" href="events_8hch.html#a0">00021</a> <span class="preprocessor"></span><span class="preprocessor">#define _EVENTS_HCH 1</span>
00022 <span class="preprocessor"></span>
00023
00024
@@ -17,12 +17,12 @@
00026 <span class="comment"> * This function loads 768 4bits presets into the equalizer_levels array</span>
00027 <span class="comment"> * pointed to by equalizer_levels.</span>
00028 <span class="comment"> */</span>
-00029 <span class="keywordtype">void</span> <a class="code" href="events_8hcc.html#a2">load_preset</a>(<span class="keywordtype">unsigned</span> 20 preset_address, <span class="keywordtype">unsigned</span> 4 *equalizer_levels);
+00029 <span class="keywordtype">void</span> <a class="code" href="events_8hcc.html#a3">load_preset</a>(<span class="keywordtype">unsigned</span> 10 preset, <span class="keywordtype">unsigned</span> 4 *equalizer_levels_ptr);
00030
00031 <span class="preprocessor">#else</span>
00032 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file events.hch multiple times included"</span>
00033 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _EVENTS_HCH --- */</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/events_8hch.html b/Graphic_Equalizer/doc/html/events_8hch.html
index 7545623..62a98a2 100644
--- a/Graphic_Equalizer/doc/html/events_8hch.html
+++ b/Graphic_Equalizer/doc/html/events_8hch.html
@@ -1,10 +1,10 @@
<!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/include/events.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/events.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>events.hch File Reference</h1>
@@ -18,14 +18,17 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="events_8hch-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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hch.html#a0">_EVENTS_HCH</a>&nbsp;&nbsp;&nbsp;1</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="events_8hch.html#a1">load_preset</a> (unsigned 20 preset_address, unsigned 4 *equalizer_levels)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hch.html#a1">load_preset</a> (unsigned 10 preset, unsigned 4 *equalizer_levels_ptr)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function loads 768 4bits presets into the equalizer_levels array pointed to by equalizer_levels. <a href="#a1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
that need to be performed.<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -39,7 +42,33 @@ Change history</a></h2>
20041710: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="events_8hch-source.html">events.hch</a>.<hr><h2>Function Documentation</h2>
+Definition in file <a class="el" href="events_8hch-source.html">events.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="events.hch::_EVENTS_HCH"></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">#define _EVENTS_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="events_8hch-source.html#l00021">21</a> of file <a class="el" href="events_8hch-source.html">events.hch</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
<a class="anchor" name="a1" doxytag="events.hch::load_preset"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -48,14 +77,14 @@ Definition in file <a class="el" href="events_8hch-source.html">events.hch</a>.<
<tr>
<td class="md" nowrap valign="top">void load_preset </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">unsigned 20&nbsp;</td>
- <td class="mdname" nowrap> <em>preset_address</em>, </td>
+ <td class="md" nowrap valign="top">unsigned 10&nbsp;</td>
+ <td class="mdname" nowrap> <em>preset</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>unsigned 4 *&nbsp;</td>
- <td class="mdname" nowrap> <em>equalizer_levels</em></td>
+ <td class="mdname" nowrap> <em>equalizer_levels_ptr</em></td>
</tr>
<tr>
<td class="md"></td>
@@ -78,8 +107,7 @@ This function loads 768 4bits presets into the equalizer_levels array pointed to
<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>preset_address</em>&nbsp;</td><td>PL2Ram address where preset to be loaded is. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>*equalizer_levels</em>&nbsp;</td><td>Location where to store presets loaded from ram.</td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>*equalizer_levels</em>&nbsp;</td><td>Location where to store presets loaded from blockram.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>
@@ -90,12 +118,14 @@ This function loads 768 4bits presets into the equalizer_levels array pointed to
</dl>
<p>
-Definition at line <a class="el" href="events_8hcc-source.html#l00049">49</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+Definition at line <a class="el" href="events_8hcc-source.html#l00053">53</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
+<p>
+References <a class="el" href="events_8hcc-source.html#l00037">presets_default_values</a>.
<p>
-Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00063">eventhandler_main()</a>. </td>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:12 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc-source.html b/Graphic_Equalizer/doc/html/fft_8hcc-source.html
index 64569fd..d836590 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/fft_8hcc-source.html
@@ -1,10 +1,10 @@
<!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/fft.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/fft.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>fft.hcc</h1><a href="fft_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
@@ -12,424 +12,433 @@
00021 <span class="preprocessor">#include "pal_master.hch"</span>
00022
00023 <span class="preprocessor">#include "<a class="code" href="audio_8hch.html">audio.hch</a>"</span>
-00024 <span class="preprocessor">#include "weights_256.hch"</span>
+00024 <span class="preprocessor">#include "<a class="code" href="weights__256_8hch.html">weights_256.hch</a>"</span>
00025 <span class="preprocessor">#include "<a class="code" href="configuration_8hch.html">configuration.hch</a>"</span>
-00026 <span class="preprocessor">#include "debug.hch"</span>
-00027 <span class="preprocessor">#include "xilinxmult.hch"</span>
+00026 <span class="preprocessor">#include "xilinxmult.hch"</span>
+00027 <span class="preprocessor">#include "<a class="code" href="fft_8hch.html">fft.hch</a>"</span>
00028
-00029 <span class="comment">/* Define two multi-port RAMs for FFT calculation; one for real and one for imaginary values</span>
-00030 <span class="comment"> * Extra block RAM settings are defined to make sure read and write actions can be performed</span>
-00031 <span class="comment"> * within one clock-cycle.</span>
-00032 <span class="comment"> * Left out extra settings on new board the clock changes TODO !!!!</span>
-00033 <span class="comment"> */</span>
-00034 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00035 <span class="preprocessor"></span>mpram
-00036 {
-00037 ram <span class="keywordtype">signed</span> 18 rwrite[256];
-00038 rom <span class="keywordtype">signed</span> 18 read[256];
-00039 } real with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
-00040
-00041 mpram
-00042 {
-00043 ram <span class="keywordtype">signed</span> 18 rwrite[256];
-00044 rom <span class="keywordtype">signed</span> 18 read[256];
-00045 } imaginary with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
-00046 <span class="preprocessor">#else</span>
-00047 <span class="preprocessor"></span>mpram
-00048 {
-00049 ram <span class="keywordtype">signed</span> 24 rwrite[256];
-00050 rom <span class="keywordtype">signed</span> 24 read[256];
-00051 } real with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
-00052
-00053 mpram
-00054 {
-00055 ram <span class="keywordtype">signed</span> 24 rwrite[256];
-00056 rom <span class="keywordtype">signed</span> 24 read[256];
-00057 } imaginary with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
-00058 <span class="preprocessor">#endif</span>
-00059 <span class="preprocessor"></span><span class="comment">// multiplication factors for equalizer function</span>
-00060 ram <span class="keywordtype">signed</span> 7 eq_settings[16] = {0,2,4,7,10,13,16,19,22,26,30,35,41,48,55,63};
-00061
-00062
-<a name="l00073"></a><a class="code" href="fft_8hcc.html#a1">00073</a> macro proc <a class="code" href="fft_8hcc.html#a1">multiply</a>(result, op_a, op_b)
-00074 {
-00075 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00076 <span class="preprocessor"></span> xilinxmult(result, op_a, adjs(op_b,18));
-00077 <span class="preprocessor">#else</span>
-00078 <span class="preprocessor"></span> result = (adjs(op_a,38))*(adjs(op_a,38));
-00079 <span class="preprocessor">#endif </span>
-00080 <span class="preprocessor"></span>}
-00081
-00082
-00083
-00084
-<a name="l00095"></a><a class="code" href="fft_8hcc.html#a2">00095</a> <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a2">calculate_fft</a>(<span class="keywordtype">unsigned</span> 1 select_inverse)
-00096 {
-00097 <span class="keywordtype">unsigned</span> 4 level;
-00098 <span class="keywordtype">unsigned</span> 8 point1,point2,j,f,k;
-00099 <span class="keywordtype">unsigned</span> 9 e,i;
-00100 <span class="keywordtype">signed</span> 16 weight1,weight2;
-00101 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00102 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 p,q,r,t;
-00103 <span class="preprocessor">#else</span>
-00104 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 p,q,r,t;
-00105 <span class="preprocessor">#endif</span>
-00106 <span class="preprocessor"></span> <span class="keywordtype">signed</span> a,b;
-00107
-00108 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00109 <span class="preprocessor"></span> <span class="comment">// Macro to provide rescaling of 36-bit result of fixed point multiply</span>
-00110 <span class="comment">// down to an 18-bit result. The range of bits selected depends on the </span>
-00111 <span class="comment">// number that represents the value of "1" in the trig function lookup</span>
-00112 <span class="comment">// tables. (Eg. for 16384 == 1, the lowest bit selected should be [14]).</span>
-00113 macro expr rescale (x) = (x[35] @ x[30:14]);
-00114 <span class="preprocessor">#else</span>
-00115 <span class="preprocessor"></span> <span class="comment">//Macro to rescale the multiply result down to a 24-bit value.</span>
-00116 macro expr rescale (x) = ((x&gt;&gt;FRACBITS)&lt;-24);
-00117 <span class="preprocessor">#endif</span>
-00118 <span class="preprocessor"></span>
-00119 <span class="keywordflow">for</span>(level=1;level&lt;=NUMBER_OF_COLUMNS;level++) <span class="comment">// count all the columns</span>
-00120 {
-00121 e=1&lt;&lt;(NUMBER_OF_COLUMNS-level+1); <span class="comment">// number of points in each block in this column</span>
-00122 f=(e&gt;&gt;1)&lt;-8; <span class="comment">// number of butterflies in each block in this column</span>
-00123
-00124 <span class="keywordflow">for</span>(j=1;j&lt;=f;j++) <span class="comment">// count all the butterflies in each block</span>
-00125 {
-00126 par
-00127 {
-00128 <span class="comment">// Weight factors for real (the same for FFT and iFFT)</span>
-00129 weight1 = weight_re[((j-1)&lt;&lt;(level-1))&lt;-7];
-00130
-00131
-00132 <span class="comment">// Weight factors for imaginary (opposite for FFT and iFFT)</span>
-00133 weight2 = (!select_inverse) ? (weight_im[((j-1)&lt;&lt;(level-1))&lt;-7]) : -(weight_im[((j-1)&lt;&lt;(level-1))&lt;-7]);
-00134
-00135 <span class="comment">/* ORIGINAL CODE BELOW, MODIFIED BECAUSE OF MISMATCHING OUTPUT WITH BORLAND TESTAPP</span>
-00136 <span class="comment"> weight2 = (!select_inverse) ? -(weight_im[((j-1)&lt;&lt;(level-1))&lt;-7]) : weight_im[((j-1)&lt;&lt;(level-1))&lt;-7]; </span>
-00137 <span class="comment"> */</span>
-00138
-00139
-00140
-00141 <span class="keywordflow">for</span>(i=0@j;i&lt;=NUMBER_OF_POINTS;i+=e) <span class="comment">// count all the blocks in this column</span>
-00142 { <span class="comment">// Butterfly calculation</span>
-00143 par
-00144 {
-00145 point1 = ((i&lt;-8)-1);
-00146 point2 = (((i&lt;-8)+f)-1);
-00147 }
-00148
-00149 par
-00150 {
-00151 p = (real.read[point1] &gt;&gt; 1) + (real.rwrite[point2] &gt;&gt; 1);
-00152 q = (imaginary.read[point1] &gt;&gt; 1) + (imaginary.rwrite[point2] &gt;&gt; 1);
-00153 }
-00154
-00155 par
-00156 {
-00157 r = (real.read[point1] &gt;&gt; 1) - (real.rwrite[point2] &gt;&gt; 1);
-00158 t = (imaginary.read[point1] &gt;&gt; 1) - (imaginary.rwrite[point2] &gt;&gt; 1);
-00159 }
-00160
-00161 <a class="code" href="fft_8hcc.html#a1">multiply</a>(a,r,weight1);
-00162 <a class="code" href="fft_8hcc.html#a1">multiply</a>(b,t,weight2);
-00163
+00029 <span class="preprocessor">#if HAVE_DEBUG</span>
+00030 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span>
+00031 <span class="preprocessor">#endif</span>
+00032 <span class="preprocessor"></span>
+00033 <span class="comment">/* Define two multi-port RAMs for FFT calculation; one for real and one for imaginary values</span>
+00034 <span class="comment"> * Extra block RAM settings are defined to make sure read and write actions can be performed</span>
+00035 <span class="comment"> * within one clock-cycle.</span>
+00036 <span class="comment"> * Left out extra settings on new board the clock changes TODO !!!!</span>
+00037 <span class="comment"> */</span>
+00038 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00039 <span class="preprocessor"></span>mpram
+00040 {
+00041 ram <span class="keywordtype">signed</span> 18 rwrite[256];
+00042 rom <span class="keywordtype">signed</span> 18 read[256];
+00043 } real with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
+00044
+00045 mpram
+00046 {
+00047 ram <span class="keywordtype">signed</span> 18 rwrite[256];
+00048 rom <span class="keywordtype">signed</span> 18 read[256];
+00049 } imaginary with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
+00050 <span class="preprocessor">#else</span>
+00051 <span class="preprocessor"></span>mpram
+00052 {
+00053 ram <span class="keywordtype">signed</span> 24 rwrite[256];
+00054 rom <span class="keywordtype">signed</span> 24 read[256];
+00055 } real with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
+00056
+00057 mpram
+00058 {
+00059 ram <span class="keywordtype">signed</span> 24 rwrite[256];
+00060 rom <span class="keywordtype">signed</span> 24 read[256];
+00061 } imaginary with {block = <span class="stringliteral">"BlockRAM"</span><span class="comment">/*, westart=2.5, welength=1, rclkpos={1.5}, wclkpos={3}, clkpulselen=0.5*/</span>};
+00062 <span class="preprocessor">#endif</span>
+00063 <span class="preprocessor"></span><span class="comment">// multiplication factors for equalizer function</span>
+<a name="l00064"></a><a class="code" href="fft_8hcc.html#a1">00064</a> ram <span class="keywordtype">signed</span> 7 <a class="code" href="fft_8hcc.html#a1">eq_settings</a>[16] = {0,2,4,7,10,13,16,19,22,26,30,35,41,48,55,63};
+00065
+00066 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00067 <span class="preprocessor"></span><span class="preprocessor">#define DC_COMPONENT 0</span>
+00068 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+<a name="l00069"></a><a class="code" href="fft_8hcc.html#a0">00069</a> <span class="preprocessor"></span><span class="preprocessor">#define DC_COMPONENT 8470527</span>
+00070 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+00071 <span class="preprocessor"></span>
+<a name="l00082"></a><a class="code" href="fft_8hcc.html#a2">00082</a> macro proc <a class="code" href="fft_8hcc.html#a2">multiply</a>(result, op_a, op_b)
+00083 {
+00084 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00085 <span class="preprocessor"></span> xilinxmult(result, op_a, adjs(op_b,18));
+00086 <span class="preprocessor">#else</span>
+00087 <span class="preprocessor"></span> result = (adjs(op_a,38))*(adjs(op_a,38));
+00088 <span class="preprocessor">#endif </span>
+00089 <span class="preprocessor"></span>}
+00090
+00091
+00092
+00093
+<a name="l00104"></a><a class="code" href="fft_8hcc.html#a3">00104</a> <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a3">calculate_fft</a>(<span class="keywordtype">unsigned</span> 1 select_inverse)
+00105 {
+00106 <span class="keywordtype">unsigned</span> 4 level;
+00107 <span class="keywordtype">unsigned</span> 8 point1,point2,j,f,k;
+00108 <span class="keywordtype">unsigned</span> 9 e,i;
+00109 <span class="keywordtype">signed</span> 16 weight1,weight2;
+00110 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00111 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 p,q,r,t;
+00112 <span class="preprocessor">#else</span>
+00113 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 p,q,r,t;
+00114 <span class="preprocessor">#endif</span>
+00115 <span class="preprocessor"></span> <span class="keywordtype">signed</span> a,b;
+00116
+00117 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00118 <span class="preprocessor"></span> <span class="comment">// Macro to provide rescaling of 36-bit result of fixed point multiply</span>
+00119 <span class="comment">// down to an 18-bit result. The range of bits selected depends on the </span>
+00120 <span class="comment">// number that represents the value of "1" in the trig function lookup</span>
+00121 <span class="comment">// tables. (Eg. for 16384 == 1, the lowest bit selected should be [14]).</span>
+00122 macro expr rescale (x) = (x[35] @ x[30:14]);
+00123 <span class="preprocessor">#else</span>
+00124 <span class="preprocessor"></span> <span class="comment">//Macro to rescale the multiply result down to a 24-bit value.</span>
+00125 macro expr rescale (x) = ((x&gt;&gt;FRACBITS)&lt;-24);
+00126 <span class="preprocessor">#endif</span>
+00127 <span class="preprocessor"></span>
+00128 <span class="keywordflow">for</span>(level=1;level&lt;=NUMBER_OF_COLUMNS;level++) <span class="comment">// count all the columns</span>
+00129 {
+00130 e=1&lt;&lt;(<a class="code" href="fft_8hch.html#a0">NUMBER_OF_COLUMNS</a>-level+1); <span class="comment">// number of points in each block in this column</span>
+00131 f=(e&gt;&gt;1)&lt;-8; <span class="comment">// number of butterflies in each block in this column</span>
+00132
+00133 <span class="keywordflow">for</span>(j=1;j&lt;=f;j++) <span class="comment">// count all the butterflies in each block</span>
+00134 {
+00135 par
+00136 {
+00137 <span class="comment">// Weight factors for real (the same for FFT and iFFT)</span>
+00138 weight1 = <a class="code" href="weights__256_8hch.html#a2">weight_re</a>[((j-1)&lt;&lt;(level-1))&lt;-7];
+00139
+00140
+00141 <span class="comment">// Weight factors for imaginary (opposite for FFT and iFFT)</span>
+00142 weight2 = (!select_inverse) ? (<a class="code" href="weights__256_8hch.html#a3">weight_im</a>[((j-1)&lt;&lt;(level-1))&lt;-7]) : -(<a class="code" href="weights__256_8hch.html#a3">weight_im</a>[((j-1)&lt;&lt;(level-1))&lt;-7]);
+00143
+00144 <span class="comment">/* ORIGINAL CODE BELOW, MODIFIED BECAUSE OF MISMATCHING OUTPUT WITH BORLAND TESTAPP</span>
+00145 <span class="comment"> weight2 = (!select_inverse) ? -(weight_im[((j-1)&lt;&lt;(level-1))&lt;-7]) : weight_im[((j-1)&lt;&lt;(level-1))&lt;-7]; </span>
+00146 <span class="comment"> */</span>
+00147
+00148
+00149
+00150 <span class="keywordflow">for</span>(i=0@j;i&lt;=NUMBER_OF_POINTS;i+=e) <span class="comment">// count all the blocks in this column</span>
+00151 { <span class="comment">// Butterfly calculation</span>
+00152 par
+00153 {
+00154 point1 = ((i&lt;-8)-1);
+00155 point2 = (((i&lt;-8)+f)-1);
+00156 }
+00157
+00158 par
+00159 {
+00160 p = (real.read[point1] &gt;&gt; 1) + (real.rwrite[point2] &gt;&gt; 1);
+00161 q = (imaginary.read[point1] &gt;&gt; 1) + (imaginary.rwrite[point2] &gt;&gt; 1);
+00162 }
+00163
00164 par
00165 {
-00166 real.rwrite[point2] = (rescale(a-b));
-00167 imaginary.rwrite[point1] = q;
-00168 }
+00166 r = (real.read[point1] &gt;&gt; 1) - (real.rwrite[point2] &gt;&gt; 1);
+00167 t = (imaginary.read[point1] &gt;&gt; 1) - (imaginary.rwrite[point2] &gt;&gt; 1);
+00168 }
00169
-00170 <a class="code" href="fft_8hcc.html#a1">multiply</a>(a,t,weight1);
-00171 <a class="code" href="fft_8hcc.html#a1">multiply</a>(b,r,weight2);
+00170 <a class="code" href="fft_8hcc.html#a2">multiply</a>(a,r,weight1);
+00171 <a class="code" href="fft_8hcc.html#a2">multiply</a>(b,t,weight2);
00172
00173 par
-00174 {
-00175 real.rwrite[point1] = p;
-00176 imaginary.rwrite[point2] = (rescale(a+b));
+00174 {
+00175 real.rwrite[point2] = (rescale(a-b));
+00176 imaginary.rwrite[point1] = q;
00177 }
00178
-00179 }
-00180 }
-00181 }
-00182 }
-00183
-00184 j=1;
-00185 <span class="keywordflow">for</span>(i=1;i&lt;NUMBER_OF_POINTS;i++)
-00186 {
-00187 <span class="keywordflow">if</span>(i&lt;(0@j))
-00188 {
-00189 par
-00190 {
-00191 point1=j-1;
-00192 point2=(i-1)&lt;-8;
-00193 }
-00194 <span class="comment">/*</span>
-00195 <span class="comment"> COPYING ARRAY VALUES FROM ONE PLACE TO ANOTHER IN THE ARRAT MUST BE DONE IN </span>
-00196 <span class="comment"> 2 STEPS. FIRSTLY THE VALUES ARE COPIED TO SEPARATE VARIABLES AFTER THAT THEY</span>
-00197 <span class="comment"> ARE COPIED BACK TO THEIR NEW POSITION IN THE ARRAY. THIS MUST BE DONE TO </span>
-00198 <span class="comment"> PREVENT TIMING ISSUES FROM OCCURING.</span>
-00199 <span class="comment"> */</span>
-00200 par
-00201 {
-00202 p = real.read[point1];
-00203 q = imaginary.read[point1];
-00204 }
-00205 par
-00206 {
-00207 r = real.read[point2];
-00208 t = imaginary.read[point2];
-00209 }
-00210 par
-00211 {
-00212 real.rwrite[point1] = r;
-00213 imaginary.rwrite[point1] = t;
-00214 }
-00215 par
-00216 {
-00217 real.rwrite[point2] = p;
-00218 imaginary.rwrite[point2] = q;
-00219 }
-00220 }
-00221
-00222 k = NUMBER_OF_POINTS&gt;&gt;1;
-00223
-00224
-00225 <span class="keywordflow">while</span>(k&lt;j)
-00226 {
-00227 j = j-k;
-00228 k = k&gt;&gt;1;
+00179 <a class="code" href="fft_8hcc.html#a2">multiply</a>(a,t,weight1);
+00180 <a class="code" href="fft_8hcc.html#a2">multiply</a>(b,r,weight2);
+00181
+00182 par
+00183 {
+00184 real.rwrite[point1] = p;
+00185 imaginary.rwrite[point2] = (rescale(a+b));
+00186 }
+00187
+00188 }
+00189 }
+00190 }
+00191 }
+00192
+00193 j=1;
+00194 <span class="keywordflow">for</span>(i=1;i&lt;NUMBER_OF_POINTS;i++)
+00195 {
+00196 <span class="keywordflow">if</span>(i&lt;(0@j))
+00197 {
+00198 par
+00199 {
+00200 point1=j-1;
+00201 point2=(i-1)&lt;-8;
+00202 }
+00203 <span class="comment">/*</span>
+00204 <span class="comment"> COPYING ARRAY VALUES FROM ONE PLACE TO ANOTHER IN THE ARRAT MUST BE DONE IN </span>
+00205 <span class="comment"> 2 STEPS. FIRSTLY THE VALUES ARE COPIED TO SEPARATE VARIABLES AFTER THAT THEY</span>
+00206 <span class="comment"> ARE COPIED BACK TO THEIR NEW POSITION IN THE ARRAY. THIS MUST BE DONE TO </span>
+00207 <span class="comment"> PREVENT TIMING ISSUES FROM OCCURING.</span>
+00208 <span class="comment"> */</span>
+00209 par
+00210 {
+00211 p = real.read[point1];
+00212 q = imaginary.read[point1];
+00213 }
+00214 par
+00215 {
+00216 r = real.read[point2];
+00217 t = imaginary.read[point2];
+00218 }
+00219 par
+00220 {
+00221 real.rwrite[point1] = r;
+00222 imaginary.rwrite[point1] = t;
+00223 }
+00224 par
+00225 {
+00226 real.rwrite[point2] = p;
+00227 imaginary.rwrite[point2] = q;
+00228 }
00229 }
00230
-00231 j+=k;
-00232 }
+00231 k = <a class="code" href="fft_8hch.html#a1">NUMBER_OF_POINTS</a>&gt;&gt;1;
+00232
00233
-00234 }
-00235
-00247 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00248 <span class="preprocessor"></span><span class="keywordtype">void</span> perform_fft(<span class="keywordtype">signed</span> 18 *pcm_audio)
-00249 #<span class="keywordflow">else</span>
-00250 <span class="keywordtype">void</span> perform_fft(<span class="keywordtype">signed</span> 16 *pcm_audio)
-00251 #endif
-00252 {
-00253 <span class="keywordtype">unsigned</span> 8 k;
-00254 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00255 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 sample;
-00256 k=0;
-00257 sample = adjs(pcm_audio[k],18);
-00258 <span class="preprocessor">#else</span>
-00259 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 sample;
-00260 k=0;
-00261 sample = adjs(pcm_audio[k],24);
-00262 <span class="preprocessor">#endif</span>
-00263 <span class="preprocessor"></span>
-00264 <span class="comment">//initialize variables for the copying pipeline</span>
-00265
-00266
-00267 <span class="comment">// copy audio data to real-array before starting FFT calculation</span>
-00268 <span class="comment">// and set imaginary values to zero</span>
-00269 <span class="keywordflow">do</span>
-00270 {
-00271 <span class="comment">//Copying the array values has been pipelined to prevent parallel access to the</span>
-00272 <span class="comment">//pcm_audio array. This copying procedure must be finished before another </span>
-00273 <span class="comment">//sample is read from the audio input. The time available for this loop is </span>
-00274 <span class="comment">//determined by the sampling rate of 44,1 Khz</span>
-00275 par
-00276 {
-00277 <span class="comment">//COPYING NEEDS TO BE DONE IN 2 STEPS, BECAUSE THE VALUE THAT NEEDS TO WRITTEN</span>
-00278 <span class="comment">//TO THE REAL-RAM NEEDS TO BE AVAILABLE ON THE START OFF THE CLOCKCYCLE.</span>
-00279 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00280 <span class="preprocessor"></span> sample = adjs(pcm_audio[k+1],18);
-00281 <span class="preprocessor">#else</span>
-00282 <span class="preprocessor"></span> sample = adjs(pcm_audio[k+1],24);
-00283 <span class="preprocessor">#endif</span>
-00284 <span class="preprocessor"></span> real.rwrite[k] = sample;
-00285 imaginary.rwrite[k] = 0;
-00286 k++;
-00287 }
-00288 } <span class="keywordflow">while</span> (k);
-00289
-00290
-00291
-00292 <span class="preprocessor">#if PERFORM_FFT_CALCULATION</span>
-00293 <span class="preprocessor"></span> <a class="code" href="fft_8hcc.html#a2">calculate_fft</a>(0);
-00294 <span class="preprocessor">#endif</span>
-00295 <span class="preprocessor"></span>
-00296
-00297 }
+00234 <span class="keywordflow">while</span>(k&lt;j)
+00235 {
+00236 j = j-k;
+00237 k = k&gt;&gt;1;
+00238 }
+00239
+00240 j+=k;
+00241 }
+00242
+00243 }
+00244
+00256 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00257 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a4">perform_fft</a>(<span class="keywordtype">signed</span> 18 *pcm_audio)
+00258 #<span class="keywordflow">else</span>
+<a name="l00259"></a><a class="code" href="fft_8hcc.html#a4">00259</a> <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a4">perform_fft</a>(<span class="keywordtype">signed</span> 16 *pcm_audio)
+00260 #endif
+00261 {
+00262 <span class="keywordtype">unsigned</span> 8 k;
+00263 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00264 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 sample;
+00265 k=0;
+00266 sample = adjs(pcm_audio[k],18);
+00267 <span class="preprocessor">#else</span>
+00268 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 sample;
+00269 k=0;
+00270 sample = adjs(pcm_audio[k],24);
+00271 <span class="preprocessor">#endif</span>
+00272 <span class="preprocessor"></span>
+00273 <span class="comment">//initialize variables for the copying pipeline</span>
+00274
+00275
+00276 <span class="comment">// copy audio data to real-array before starting FFT calculation</span>
+00277 <span class="comment">// and set imaginary values to zero</span>
+00278 <span class="keywordflow">do</span>
+00279 {
+00280 <span class="comment">//Copying the array values has been pipelined to prevent parallel access to the</span>
+00281 <span class="comment">//pcm_audio array. This copying procedure must be finished before another </span>
+00282 <span class="comment">//sample is read from the audio input. The time available for this loop is </span>
+00283 <span class="comment">//determined by the sampling rate of 44,1 Khz</span>
+00284 par
+00285 {
+00286 <span class="comment">//COPYING NEEDS TO BE DONE IN 2 STEPS, BECAUSE THE VALUE THAT NEEDS TO WRITTEN</span>
+00287 <span class="comment">//TO THE REAL-RAM NEEDS TO BE AVAILABLE ON THE START OFF THE CLOCKCYCLE.</span>
+00288 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00289 <span class="preprocessor"></span> sample = adjs(pcm_audio[k+1],18);
+00290 <span class="preprocessor">#else</span>
+00291 <span class="preprocessor"></span> sample = adjs(pcm_audio[k+1],24);
+00292 <span class="preprocessor">#endif</span>
+00293 <span class="preprocessor"></span> real.rwrite[k] = sample;
+00294 imaginary.rwrite[k] = 0;
+00295 k++;
+00296 }
+00297 } <span class="keywordflow">while</span> (k);
00298
-00312 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00313 <span class="preprocessor"></span><span class="keywordtype">void</span> perform_ifft(<span class="keywordtype">signed</span> 18 *modified_audio, <span class="keywordtype">unsigned</span> 6 *ifft_info)
-00314 #<span class="keywordflow">else</span>
-00315 <span class="keywordtype">void</span> perform_ifft(<span class="keywordtype">signed</span> 16 *modified_audio, <span class="keywordtype">unsigned</span> 6 *ifft_info)
-00316 #endif
-00317 {
-00318 <span class="keywordtype">unsigned</span> 6 k;
-00319 <span class="preprocessor">#if HARDWARE_MULTIPLY </span>
-00320 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 p;
-00321 <span class="preprocessor">#else</span>
-00322 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 p;
-00323 <span class="preprocessor">#endif</span>
-00324 <span class="preprocessor"></span><span class="preprocessor">#if PERFORM_FFT_CALCULATION </span>
-00325 <span class="preprocessor"></span> <a class="code" href="fft_8hcc.html#a2">calculate_fft</a>(1);
-00326 <span class="preprocessor">#endif</span>
-00327 <span class="preprocessor"></span>
-00328 k=0;
-00329 <span class="comment">//initialize variables for the copying pipeline</span>
-00330 <span class="preprocessor">#if PERFORM_FFT_CALCULATION </span>
-00331 <span class="preprocessor"></span><span class="preprocessor"> #if HARDWARE_MULTIPLY </span>
-00332 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &lt;&lt; NUMBER_OF_COLUMNS);
-00333 <span class="preprocessor"> #else</span>
-00334 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &gt;&gt; NUMBER_OF_COLUMNS);
-00335 <span class="preprocessor"> #endif</span>
-00336 <span class="preprocessor"></span><span class="preprocessor">#else</span>
-00337 <span class="preprocessor"></span> p = (real.read[(0@k)+95]);
-00338 <span class="preprocessor">#endif</span>
-00339 <span class="preprocessor"></span>
-00340 <span class="keywordflow">do</span>
-00341 {
-00342 <span class="comment">//Copying the array values has been pipelined to prevent parallel access to the</span>
-00343 <span class="comment">//pcm_audio array. This copying procedure must be finished before another </span>
-00344 <span class="comment">//sample is read from the audio input. The time available for this loop is </span>
-00345 <span class="comment">//determined by the sampling rate of 44,1 Khz</span>
-00346 par
-00347 {
-00348 <span class="comment">/*</span>
-00349 <span class="comment"> * Before copying the modified audio from the local real-array </span>
-00350 <span class="comment"> * to the output array of the audio I/O component, compensate</span>
-00351 <span class="comment"> * for the FFT calculation by shifting the values. </span>
-00352 <span class="comment"> * 95 is added to start the output from the middle of the sliding</span>
-00353 <span class="comment"> * window, this is done to get a better sound quality.</span>
-00354 <span class="comment"> */</span>
-00355 <span class="preprocessor">#if PERFORM_FFT_CALCULATION </span>
-00356 <span class="preprocessor"></span><span class="preprocessor"> #if HARDWARE_MULTIPLY </span>
-00357 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &lt;&lt; NUMBER_OF_COLUMNS);
-00358 <span class="preprocessor"> #else</span>
-00359 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &gt;&gt; NUMBER_OF_COLUMNS);
-00360 <span class="preprocessor"> #endif</span>
-00361 <span class="preprocessor"></span><span class="preprocessor">#else</span>
-00362 <span class="preprocessor"></span> p = (real.read[(0@k)+95]);
-00363 <span class="preprocessor">#endif</span>
-00364 <span class="preprocessor"></span> <span class="comment">//Copy the modified audio from the local real array to the output array of the audio I/O component.</span>
-00365 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00366 <span class="preprocessor"></span> modified_audio[k] = p ;
-00367 <span class="preprocessor">#else</span>
-00368 <span class="preprocessor"></span> modified_audio[k] = (p&lt;-16);
-00369 <span class="preprocessor">#endif</span>
-00370 <span class="preprocessor"></span> <span class="comment">//Fill the array for displaying the waveform, only the 6 MSB are needed.</span>
-00371 ifft_info[k] = (<span class="keywordtype">unsigned</span> 6)(32+(p[17:12]));
-00372 k++;
-00373 }
-00374 } <span class="keywordflow">while</span>(k);
-00375 }
-00376
-<a name="l00389"></a><a class="code" href="fft_8hcc.html#a5">00389</a> <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">equalize_audio</a>(audiodata_t *audiodata)
-00390 {
-00391 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00392 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 p,q;
-00393 <span class="preprocessor">#else</span>
-00394 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 p,q;
-00395 <span class="preprocessor">#endif</span>
-00396 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 a;
-00397 <span class="keywordtype">unsigned</span> 8 i, mirror_i, bit, m, n;
-00398 <span class="keywordtype">unsigned</span> 7 old_value;
-00399 <span class="keywordtype">unsigned</span> 9 tmp;
-00400
-00401 <span class="comment">//macro expr equalize_bar = multiply(q,a)[29:6];</span>
-00402
-00403 macro proc equalize_bar(retval)
-00404 {
-00405 <span class="keywordtype">signed</span> result;
-00406 <a class="code" href="fft_8hcc.html#a1">multiply</a>(result, q,a);
-00407 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00408 <span class="preprocessor"></span> retval = result[23:6]; <span class="comment">//drop last 6 bit to compensate the maximum multiplication with 64 from the eq_settings array</span>
-00409 <span class="preprocessor">#else</span>
-00410 <span class="preprocessor"></span> retval = result[29:6]; <span class="comment">//drop last 6 bit to compensate the maximum multiplication with 64 from the eq_settings array</span>
-00411 <span class="preprocessor">#endif</span>
-00412 <span class="preprocessor"></span> }
-00413
-00414 p = real.read[0] - DC_COMPONENT; <span class="comment">// remove DC component for calculations</span>
-00415 real.rwrite[0] = p;
-00416
-00417 <span class="keywordflow">for</span>(i=0;i!=NUMBER_OF_FREQUENCIES;i++)
-00418 {
-00419
-00420 <span class="comment">// set multiplication factor (0..64) for current frequency bar, The first frequency band must be equalized at 100% (63) since there is no DC-component taken into account.</span>
-00421 a = adjs(eq_settings[audiodata-&gt;equalizer_levels_ptr[i &lt;- 7]],18);
+00299
+00300
+00301 <span class="preprocessor">#if PERFORM_FFT_CALCULATION</span>
+00302 <span class="preprocessor"></span> <a class="code" href="fft_8hcc.html#a3">calculate_fft</a>(0);
+00303 <span class="preprocessor">#endif</span>
+00304 <span class="preprocessor"></span>
+00305
+00306 }
+00307
+00321 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00322 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">perform_ifft</a>(<span class="keywordtype">signed</span> 18 *modified_audio, <span class="keywordtype">unsigned</span> 6 *ifft_info)
+00323 #<span class="keywordflow">else</span>
+<a name="l00324"></a><a class="code" href="fft_8hcc.html#a5">00324</a> <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">perform_ifft</a>(<span class="keywordtype">signed</span> 16 *modified_audio, <span class="keywordtype">unsigned</span> 6 *ifft_info)
+00325 #endif
+00326 {
+00327 <span class="keywordtype">unsigned</span> 6 k;
+00328 <span class="preprocessor">#if HARDWARE_MULTIPLY </span>
+00329 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 p;
+00330 <span class="preprocessor">#else</span>
+00331 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 p;
+00332 <span class="preprocessor">#endif</span>
+00333 <span class="preprocessor"></span><span class="preprocessor">#if PERFORM_FFT_CALCULATION </span>
+00334 <span class="preprocessor"></span> <a class="code" href="fft_8hcc.html#a3">calculate_fft</a>(1);
+00335 <span class="preprocessor">#endif</span>
+00336 <span class="preprocessor"></span>
+00337 k=0;
+00338 <span class="comment">//initialize variables for the copying pipeline</span>
+00339 <span class="preprocessor">#if PERFORM_FFT_CALCULATION </span>
+00340 <span class="preprocessor"></span><span class="preprocessor"> #if HARDWARE_MULTIPLY </span>
+00341 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &lt;&lt; NUMBER_OF_COLUMNS);
+00342 <span class="preprocessor"> #else</span>
+00343 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &gt;&gt; NUMBER_OF_COLUMNS);
+00344 <span class="preprocessor"> #endif</span>
+00345 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+00346 <span class="preprocessor"></span> p = (real.read[(0@k)+95]);
+00347 <span class="preprocessor">#endif</span>
+00348 <span class="preprocessor"></span>
+00349 <span class="keywordflow">do</span>
+00350 {
+00351 <span class="comment">//Copying the array values has been pipelined to prevent parallel access to the</span>
+00352 <span class="comment">//pcm_audio array. This copying procedure must be finished before another </span>
+00353 <span class="comment">//sample is read from the audio input. The time available for this loop is </span>
+00354 <span class="comment">//determined by the sampling rate of 44,1 Khz</span>
+00355 par
+00356 {
+00357 <span class="comment">/*</span>
+00358 <span class="comment"> * Before copying the modified audio from the local real-array </span>
+00359 <span class="comment"> * to the output array of the audio I/O component, compensate</span>
+00360 <span class="comment"> * for the FFT calculation by shifting the values. </span>
+00361 <span class="comment"> * 95 is added to start the output from the middle of the sliding</span>
+00362 <span class="comment"> * window, this is done to get a better sound quality.</span>
+00363 <span class="comment"> */</span>
+00364 <span class="preprocessor">#if PERFORM_FFT_CALCULATION </span>
+00365 <span class="preprocessor"></span><span class="preprocessor"> #if HARDWARE_MULTIPLY </span>
+00366 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &lt;&lt; NUMBER_OF_COLUMNS);
+00367 <span class="preprocessor"> #else</span>
+00368 <span class="preprocessor"></span> p = (real.read[(0@k)+95] &gt;&gt; NUMBER_OF_COLUMNS);
+00369 <span class="preprocessor"> #endif</span>
+00370 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+00371 <span class="preprocessor"></span> p = (real.read[(0@k)+95]);
+00372 <span class="preprocessor">#endif</span>
+00373 <span class="preprocessor"></span> <span class="comment">//Copy the modified audio from the local real array to the output array of the audio I/O component.</span>
+00374 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00375 <span class="preprocessor"></span> modified_audio[k] = p ;
+00376 <span class="preprocessor">#else</span>
+00377 <span class="preprocessor"></span> modified_audio[k] = (p&lt;-16);
+00378 <span class="preprocessor">#endif</span>
+00379 <span class="preprocessor"></span> <span class="comment">//Fill the array for displaying the waveform, only the 6 MSB are needed.</span>
+00380 ifft_info[k] = (<span class="keywordtype">unsigned</span> 6)(32+(p[17:12]));
+00381 k++;
+00382 }
+00383 } <span class="keywordflow">while</span>(k);
+00384 }
+00385
+<a name="l00398"></a><a class="code" href="fft_8hcc.html#a6">00398</a> <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a6">equalize_audio</a>(<a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata)
+00399 {
+00400 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00401 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 p,q;
+00402 <span class="preprocessor">#else</span>
+00403 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 24 p,q;
+00404 <span class="preprocessor">#endif</span>
+00405 <span class="preprocessor"></span> <span class="keywordtype">signed</span> 18 a;
+00406 <span class="keywordtype">unsigned</span> 8 i, mirror_i, bit, m, n;
+00407 <span class="keywordtype">unsigned</span> 7 old_value;
+00408 <span class="keywordtype">unsigned</span> 9 tmp;
+00409
+00410 <span class="comment">//macro expr equalize_bar = multiply(q,a)[29:6];</span>
+00411
+00412 macro proc equalize_bar(retval)
+00413 {
+00414 <span class="keywordtype">signed</span> result;
+00415 <a class="code" href="fft_8hcc.html#a2">multiply</a>(result, q,a);
+00416 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00417 <span class="preprocessor"></span> retval = result[23:6]; <span class="comment">//drop last 6 bit to compensate the maximum multiplication with 64 from the eq_settings array</span>
+00418 <span class="preprocessor">#else</span>
+00419 <span class="preprocessor"></span> retval = result[29:6]; <span class="comment">//drop last 6 bit to compensate the maximum multiplication with 64 from the eq_settings array</span>
+00420 <span class="preprocessor">#endif</span>
+00421 <span class="preprocessor"></span> }
00422
-00423
-00424 <span class="comment">// multiply frequency with this factor and divide by 64 (drop 6 LSB's)</span>
-00425 q = real.read[i];
-00426 equalize_bar(p);
-00427 real.rwrite[i] = p;
-00428
-00429 q = imaginary.read[i];
-00430 equalize_bar(p);
-00431 imaginary.rwrite[i] = p;
+00423 p = real.read[0] - DC_COMPONENT; <span class="comment">// remove DC component for calculations</span>
+00424 real.rwrite[0] = p;
+00425
+00426 <span class="keywordflow">for</span>(i=0;i!=NUMBER_OF_FREQUENCIES;i++)
+00427 {
+00428
+00429 <span class="comment">// set multiplication factor (0..64) for current frequency bar, The first frequency band must be equalized at 100% (63) since there is no DC-component taken into account.</span>
+00430 a = adjs(<a class="code" href="fft_8hcc.html#a1">eq_settings</a>[audiodata-&gt;<a class="code" href="structaudiodata__t.html#o0">equalizer_levels_ptr</a>[i &lt;- 7]],18);
+00431
00432
-00433 <span class="comment">// the upper part(128..255) of the spectrum is mirrored to the lower part; </span>
-00434 <span class="comment">// these values need to be adjusted too</span>
-00435 <span class="keywordflow">if</span> ((i&lt;-7)!=0) <span class="comment">// if not in DC component bar</span>
-00436 {
-00437 mirror_i = (NUMBER_OF_POINTS-1)-i+1;
-00438 q = real.read[mirror_i];
-00439 equalize_bar(p);
-00440 real.rwrite[mirror_i] = p;
+00433 <span class="comment">// multiply frequency with this factor and divide by 64 (drop 6 LSB's)</span>
+00434 q = real.read[i];
+00435 equalize_bar(p);
+00436 real.rwrite[i] = p;
+00437
+00438 q = imaginary.read[i];
+00439 equalize_bar(p);
+00440 imaginary.rwrite[i] = p;
00441
-00442 q = imaginary.read[mirror_i];
-00443 equalize_bar(p);
-00444 imaginary.rwrite[mirror_i] = p;
-00445 }
-00446 }
-00447
-00448 <span class="comment">//write data to fft_info for display purposes</span>
-00449 <span class="keywordflow">for</span>(i=0;i&lt;NUMBER_OF_FREQUENCIES;i++)
-00450 {
-00451 p = real.read[i];
-00452 q = imaginary.read[i];
-00453 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00454 <span class="preprocessor"></span> <span class="keywordflow">if</span> (p[17] == 1) p = -p; <span class="keywordflow">else</span> delay;
-00455 <span class="keywordflow">if</span> (q[17] == 1) q = -q; <span class="keywordflow">else</span> delay;
-00456 <span class="preprocessor">#else</span>
-00457 <span class="preprocessor"></span> <span class="keywordflow">if</span> (p[23] == 1) p = -p; <span class="keywordflow">else</span> delay;
-00458 <span class="keywordflow">if</span> (q[23] == 1) q = -q; <span class="keywordflow">else</span> delay;
-00459 <span class="preprocessor">#endif</span>
-00460 <span class="preprocessor"></span> p = (p&lt;q) ? q : p; <span class="comment">// This is done to get the best visual frequency result</span>
-00461
-00462 <span class="keywordflow">if</span> (!audiodata-&gt;display_log)
-00463 {
-00464
-00465 bit=126;
-00466 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00467 <span class="preprocessor"></span> <span class="keywordflow">while</span> ((p[15] == 0) &amp;&amp; (bit != 0))
-00468 <span class="preprocessor">#else</span>
-00469 <span class="preprocessor"></span> <span class="keywordflow">while</span> ((p[21] == 0) &amp;&amp; (bit != 0))
-00470 <span class="preprocessor">#endif</span>
-00471 <span class="preprocessor"></span> par
-00472 {
-00473 p = p&lt;&lt;1;
-00474 bit = bit - 18;
-00475 }
-00476 old_value = audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)];
-00477 tmp = ((0@old_value) + (0@bit))&gt;&gt;1;
-00478 audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)] = (old_value &lt;= (tmp&lt;-7)) ? (tmp&lt;-7) : old_value-1;
-00479 }
-00480 <span class="keywordflow">else</span>
-00481 {
-00482 old_value = audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)];
-00483 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00484 <span class="preprocessor"></span> audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)] = (old_value&lt;=(unsigned)(p[15:9])) ? (unsigned)(p[15:9]) : old_value-1;
-00485 <span class="preprocessor">#else</span>
-00486 <span class="preprocessor"></span> audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)] = (old_value&lt;=(unsigned)(p[21:15])) ? (unsigned)(p[21:15]) : old_value-1;
-00487 <span class="preprocessor">#endif</span>
-00488 <span class="preprocessor"></span> }
-00489 }
-00490
-00491 <span class="comment">// add DC component again before inverse FFT calculation is performed</span>
-00492
-00493 p = real.read[0] + DC_COMPONENT;
-00494 real.rwrite[0] = p;
-00495 }
-00496
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+00442 <span class="comment">// the upper part(128..255) of the spectrum is mirrored to the lower part; </span>
+00443 <span class="comment">// these values need to be adjusted too</span>
+00444 <span class="keywordflow">if</span> ((i&lt;-7)!=0) <span class="comment">// if not in DC component bar</span>
+00445 {
+00446 mirror_i = (<a class="code" href="fft_8hch.html#a1">NUMBER_OF_POINTS</a>-1)-i+1;
+00447 q = real.read[mirror_i];
+00448 equalize_bar(p);
+00449 real.rwrite[mirror_i] = p;
+00450
+00451 q = imaginary.read[mirror_i];
+00452 equalize_bar(p);
+00453 imaginary.rwrite[mirror_i] = p;
+00454 }
+00455 }
+00456
+00457 <span class="comment">//write data to fft_info for display purposes</span>
+00458 <span class="keywordflow">for</span>(i=0;i&lt;NUMBER_OF_FREQUENCIES;i++)
+00459 {
+00460 p = real.read[i];
+00461 q = imaginary.read[i];
+00462 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00463 <span class="preprocessor"></span> <span class="keywordflow">if</span> (p[17] == 1) p = -p; <span class="keywordflow">else</span> delay;
+00464 <span class="keywordflow">if</span> (q[17] == 1) q = -q; <span class="keywordflow">else</span> delay;
+00465 <span class="preprocessor">#else</span>
+00466 <span class="preprocessor"></span> <span class="keywordflow">if</span> (p[23] == 1) p = -p; <span class="keywordflow">else</span> delay;
+00467 <span class="keywordflow">if</span> (q[23] == 1) q = -q; <span class="keywordflow">else</span> delay;
+00468 <span class="preprocessor">#endif</span>
+00469 <span class="preprocessor"></span> p = (p&lt;q) ? q : p; <span class="comment">// This is done to get the best visual frequency result</span>
+00470
+00471 <span class="keywordflow">if</span> (!audiodata-&gt;<a class="code" href="structaudiodata__t.html#o1">display_log</a>)
+00472 {
+00473
+00474 bit=126;
+00475 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00476 <span class="preprocessor"></span> <span class="keywordflow">while</span> ((p[15] == 0) &amp;&amp; (bit != 0))
+00477 <span class="preprocessor">#else</span>
+00478 <span class="preprocessor"></span> <span class="keywordflow">while</span> ((p[21] == 0) &amp;&amp; (bit != 0))
+00479 <span class="preprocessor">#endif</span>
+00480 <span class="preprocessor"></span> par
+00481 {
+00482 p = p&lt;&lt;1;
+00483 bit = bit - 18;
+00484 }
+00485 old_value = audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)];
+00486 tmp = ((0@old_value) + (0@bit))&gt;&gt;1;
+00487 audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)] = (old_value &lt;= (tmp&lt;-7)) ? (tmp&lt;-7) : old_value-1;
+00488 }
+00489 <span class="keywordflow">else</span>
+00490 {
+00491 old_value = audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)];
+00492 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00493 <span class="preprocessor"></span> audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)] = (old_value&lt;=(unsigned)(p[15:9])) ? (unsigned)(p[15:9]) : old_value-1;
+00494 <span class="preprocessor">#else</span>
+00495 <span class="preprocessor"></span> audiodata-&gt;fft_info.write[0 @ (i &lt;- 7)] = (old_value&lt;=(unsigned)(p[21:15])) ? (unsigned)(p[21:15]) : old_value-1;
+00496 <span class="preprocessor">#endif</span>
+00497 <span class="preprocessor"></span> }
+00498 }
+00499
+00500 <span class="comment">// add DC component again before inverse FFT calculation is performed</span>
+00501
+00502 p = real.read[0] + DC_COMPONENT;
+00503 real.rwrite[0] = p;
+00504 }
+00505
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc.html b/Graphic_Equalizer/doc/html/fft_8hcc.html
index d46b6b5..e17f234 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc.html
+++ b/Graphic_Equalizer/doc/html/fft_8hcc.html
@@ -1,45 +1,56 @@
<!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/fft.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/fft.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>fft.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
<code>#include "pal_master.hch"</code><br>
<code>#include "<a class="el" href="audio_8hch-source.html">audio.hch</a>"</code><br>
-<code>#include "weights_256.hch"</code><br>
+<code>#include "<a class="el" href="weights__256_8hch-source.html">weights_256.hch</a>"</code><br>
<code>#include "<a class="el" href="configuration_8hch-source.html">configuration.hch</a>"</code><br>
-<code>#include "debug.hch"</code><br>
<code>#include "xilinxmult.hch"</code><br>
+<code>#include "<a class="el" href="fft_8hch-source.html">fft.hch</a>"</code><br>
<p>
Include dependency graph for fft.hcc:<p><center><img src="fft_8hcc__incl.png" border="0" usemap="#fft.hcc_map" alt="Include dependency graph"></center>
<map name="fft.hcc_map">
<area href="audio_8hch.html" shape="rect" coords="245,7,325,34" alt="">
-<area href="weights__256_8hch-source.html" shape="rect" coords="349,7,472,34" alt="">
+<area href="weights__256_8hch.html" shape="rect" coords="349,7,472,34" alt="">
<area href="configuration_8hch.html" shape="rect" coords="496,7,621,34" alt="">
+<area href="fft_8hch.html" shape="rect" coords="773,7,832,34" alt="">
</map>
<p>
<a href="fft_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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a0">DC_COMPONENT</a>&nbsp;&nbsp;&nbsp;8470527</td></tr>
+
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">macro proc&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a1">multiply</a> (result, op_a, op_b)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">macro proc&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a2">multiply</a> (result, op_a, op_b)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Procedure used for multiply-ing. <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="fft_8hcc.html#a3">calculate_fft</a> (unsigned 1 select_inverse)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine performs the Fast Fourier Transform for calculation of the frequency spectrum. <a href="#a3"></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="fft_8hcc.html#a4">perform_fft</a> (signed 16 *pcm_audio)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Procedure used for multiply-ing. <a href="#a1"></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="fft_8hcc.html#a2">calculate_fft</a> (unsigned 1 select_inverse)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a5">perform_ifft</a> (signed 16 *modified_audio, unsigned 6 *ifft_info)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine performs the Fast Fourier Transform for calculation of the frequency spectrum. <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="fft_8hcc.html#a5">equalize_audio</a> (audiodata_t *audiodata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a6">equalize_audio</a> (<a class="el" href="structaudiodata__t.html">audiodata_t</a> *audiodata)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars. <a href="#a6"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">ram signed&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a1">eq_settings</a> [16] = {0,2,4,7,10,13,16,19,22,26,30,35,41,48,55,63}</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars. <a href="#a5"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
on the samples. Besides the FFT this module also will equalize the audio signal according to the setting made by the user.<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -53,19 +64,60 @@ Change history</a></h2>
20041110: M. Lauwerijssen<br>
Initial version
<p>
-Definition in file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.<hr><h2>Function Documentation</h2>
-<a class="anchor" name="a2" doxytag="fft.hcc::calculate_fft"></a><p>
+Definition in file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="fft.hcc::DC_COMPONENT"></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 calculate_fft </td>
+ <td class="md" nowrap valign="top">#define DC_COMPONENT&nbsp;&nbsp;&nbsp;8470527 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="fft_8hcc-source.html#l00069">69</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a2" doxytag="fft.hcc::multiply"></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">macro proc multiply </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">unsigned 1&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> <em>select_inverse</em> </td>
- <td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap></td>
+ <td class="md" nowrap valign="top">result&nbsp;</td>
+ <td class="mdname" nowrap>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>op_a&nbsp;</td>
+ <td class="mdname" nowrap>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>op_b&nbsp;</td>
+ <td class="mdname" nowrap></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
</tr>
</table>
</td>
@@ -79,42 +131,38 @@ Definition in file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.<hr><h2
<td>
<p>
-This routine performs the Fast Fourier Transform for calculation of the frequency spectrum.
+Procedure used for multiply-ing.
<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>select_inverse</em>&nbsp;</td><td>determines if a FFT or iFFT has to be calculated</td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>variable containing the result of the multiply procedure </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>op_a</em>&nbsp;</td><td>integer value to be multiplied. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>op_b</em>&nbsp;</td><td>integer value to be multiplied.</td></tr>
</table>
</dl>
-<dl compact><dt><b>Returns:</b></dt><dd>nothing </dd></dl>
+<dl compact><dt><b>Returns:</b></dt><dd>Procedure returns through variable. </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>cost 12391 cycles </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>signed</em>&nbsp;</td><td>36 </td></tr>
</table>
</dl>
<p>
-Definition at line <a class="el" href="fft_8hcc-source.html#l00095">95</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+Definition at line <a class="el" href="fft_8hcc-source.html#l00082">82</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
<p>
-References <a class="el" href="fft_8hcc-source.html#l00073">multiply()</a>. </td>
+Referenced by <a class="el" href="fft_8hcc-source.html#l00104">calculate_fft()</a>, and <a class="el" href="fft_8hcc-source.html#l00398">equalize_audio()</a>. </td>
</tr>
</table>
-
-<p>
-Here is the call graph for this function:<p><center><img src="fft_8hcc_a2_cgraph.png" border="0" usemap="#fft_8hcc_a2_cgraph_map" alt=""></center>
-<map name="fft_8hcc_a2_cgraph_map">
-<area href="fft_8hcc.html#a1" shape="rect" coords="151,8,221,34" alt="">
-</map>
-<a class="anchor" name="a5" doxytag="fft.hcc::equalize_audio"></a><p>
+<a class="anchor" name="a3" doxytag="fft.hcc::calculate_fft"></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 equalize_audio </td>
+ <td class="md" nowrap valign="top">void calculate_fft </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">audiodata_t *&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> <em>audiodata</em> </td>
+ <td class="md" nowrap valign="top">unsigned 1&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>select_inverse</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
@@ -130,54 +178,89 @@ Here is the call graph for this function:<p><center><img src="fft_8hcc_a2_cgraph
<td>
<p>
-This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars.
+This routine performs the Fast Fourier Transform for calculation of the frequency spectrum.
<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>*audiodata</em>&nbsp;</td><td>pointer to the audiodata struct, containing the eq_info, etc.</td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>select_inverse</em>&nbsp;</td><td>determines if a FFT or iFFT has to be calculated</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>nothing </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>cost 3844 cycles (Maximum) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>void</em>&nbsp;</td><td>cost 12391 cycles </td></tr>
</table>
</dl>
<p>
-Definition at line <a class="el" href="fft_8hcc-source.html#l00389">389</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+Definition at line <a class="el" href="fft_8hcc-source.html#l00104">104</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
<p>
-References <a class="el" href="fft_8hcc-source.html#l00073">multiply()</a>. </td>
+References <a class="el" href="fft_8hcc-source.html#l00082">multiply()</a>, <a class="el" href="fft_8hch-source.html#l00001">NUMBER_OF_COLUMNS</a>, <a class="el" href="fft_8hch-source.html#l00002">NUMBER_OF_POINTS</a>, <a class="el" href="weights__256_8hch-source.html#l00135">weight_im</a>, and <a class="el" href="weights__256_8hch-source.html#l00004">weight_re</a>.
+<p>
+Referenced by <a class="el" href="fft_8hcc-source.html#l00259">perform_fft()</a>, and <a class="el" href="fft_8hcc-source.html#l00324">perform_ifft()</a>. </td>
</tr>
</table>
<p>
-Here is the call graph for this function:<p><center><img src="fft_8hcc_a5_cgraph.png" border="0" usemap="#fft_8hcc_a5_cgraph_map" alt=""></center>
-<map name="fft_8hcc_a5_cgraph_map">
-<area href="fft_8hcc.html#a1" shape="rect" coords="167,8,237,34" alt="">
+Here is the call graph for this function:<p><center><img src="fft_8hcc_a3_cgraph.png" border="0" usemap="#fft_8hcc_a3_cgraph_map" alt=""></center>
+<map name="fft_8hcc_a3_cgraph_map">
+<area href="fft_8hcc.html#a2" shape="rect" coords="151,8,221,34" alt="">
</map>
-<a class="anchor" name="a1" doxytag="fft.hcc::multiply"></a><p>
+<a class="anchor" name="a4" doxytag="fft.hcc::perform_fft"></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">macro proc multiply </td>
+ <td class="md" nowrap valign="top">void perform_fft </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">result&nbsp;</td>
- <td class="mdname" nowrap>, </td>
+ <td class="md" nowrap valign="top">signed 16 *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>pcm_audio</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>
+
+<p>
+Definition at line <a class="el" href="fft_8hcc-source.html#l00259">259</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+<p>
+References <a class="el" href="fft_8hcc-source.html#l00104">calculate_fft()</a>. </td>
+ </tr>
+</table>
+
+<p>
+Here is the call graph for this function:<p><center><img src="fft_8hcc_a4_cgraph.png" border="0" usemap="#fft_8hcc_a4_cgraph_map" alt=""></center>
+<map name="fft_8hcc_a4_cgraph_map">
+<area href="fft_8hcc.html#a3" shape="rect" coords="145,8,238,34" alt="">
+<area href="fft_8hcc.html#a2" shape="rect" coords="287,8,357,34" alt="">
+</map>
+<a class="anchor" name="a5" doxytag="fft.hcc::perform_ifft"></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 align="right"></td>
- <td class="md"></td>
- <td class="md" nowrap>op_a&nbsp;</td>
- <td class="mdname" nowrap>, </td>
+ <td class="md" nowrap valign="top">void perform_ifft </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">signed 16 *&nbsp;</td>
+ <td class="mdname" nowrap> <em>modified_audio</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
- <td class="md" nowrap>op_b&nbsp;</td>
- <td class="mdname" nowrap></td>
+ <td class="md" nowrap>unsigned 6 *&nbsp;</td>
+ <td class="mdname" nowrap> <em>ifft_info</em></td>
</tr>
<tr>
<td class="md"></td>
@@ -196,29 +279,101 @@ Here is the call graph for this function:<p><center><img src="fft_8hcc_a5_cgraph
<td>
<p>
-Procedure used for multiply-ing.
+
+<p>
+Definition at line <a class="el" href="fft_8hcc-source.html#l00324">324</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+<p>
+References <a class="el" href="fft_8hcc-source.html#l00104">calculate_fft()</a>. </td>
+ </tr>
+</table>
+
+<p>
+Here is the call graph for this function:<p><center><img src="fft_8hcc_a5_cgraph.png" border="0" usemap="#fft_8hcc_a5_cgraph_map" alt=""></center>
+<map name="fft_8hcc_a5_cgraph_map">
+<area href="fft_8hcc.html#a3" shape="rect" coords="150,8,244,34" alt="">
+<area href="fft_8hcc.html#a2" shape="rect" coords="293,8,362,34" alt="">
+</map>
+<a class="anchor" name="a6" doxytag="fft.hcc::equalize_audio"></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 equalize_audio </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structaudiodata__t.html">audiodata_t</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>audiodata</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 routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars.
+<p>
+<dl compact><dt><b>Note:</b></dt><dd>Cost: 3844 clock cycles (Maximum)</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>variable containing the result of the multiply procedure </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>op_a</em>&nbsp;</td><td>integer value to be multiplied. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>op_b</em>&nbsp;</td><td>integer value to be multiplied.</td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>*audiodata</em>&nbsp;</td><td>pointer to the audiodata struct, containing the eq_info, etc.</td></tr>
</table>
</dl>
-<dl compact><dt><b>Returns:</b></dt><dd>Procedure returns through variable. </dd></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>signed</em>&nbsp;</td><td>36 </td></tr>
+ <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="fft_8hcc-source.html#l00073">73</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+Definition at line <a class="el" href="fft_8hcc-source.html#l00398">398</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+<p>
+References <a class="el" href="audio_8hch-source.html#l00035">audiodata_t::display_log</a>, <a class="el" href="fft_8hcc-source.html#l00064">eq_settings</a>, <a class="el" href="audio_8hch-source.html#l00034">audiodata_t::equalizer_levels_ptr</a>, <a class="el" href="fft_8hcc-source.html#l00082">multiply()</a>, and <a class="el" href="fft_8hch-source.html#l00002">NUMBER_OF_POINTS</a>. </td>
+ </tr>
+</table>
+
+<p>
+Here is the call graph for this function:<p><center><img src="fft_8hcc_a6_cgraph.png" border="0" usemap="#fft_8hcc_a6_cgraph_map" alt=""></center>
+<map name="fft_8hcc_a6_cgraph_map">
+<area href="fft_8hcc.html#a2" shape="rect" coords="167,8,237,34" alt="">
+</map>
+<hr><h2>Variable Documentation</h2>
+<a class="anchor" name="a1" doxytag="fft.hcc::eq_settings"></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">ram signed <a class="el" href="fft_8hcc.html#a1">eq_settings</a>[16] = {0,2,4,7,10,13,16,19,22,26,30,35,41,48,55,63} </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="fft_8hcc-source.html#l00064">64</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
<p>
-Referenced by <a class="el" href="fft_8hcc-source.html#l00095">calculate_fft()</a>, and <a class="el" href="fft_8hcc-source.html#l00389">equalize_audio()</a>. </td>
+Referenced by <a class="el" href="fft_8hcc-source.html#l00398">equalize_audio()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:49 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:17 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc__incl.map b/Graphic_Equalizer/doc/html/fft_8hcc__incl.map
index 2d923f7..15797f7 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc__incl.map
+++ b/Graphic_Equalizer/doc/html/fft_8hcc__incl.map
@@ -1,4 +1,5 @@
base referer
rect $audio_8hch.html 245,7 325,34
-rect $weights__256_8hch-source.html 349,7 472,34
+rect $weights__256_8hch.html 349,7 472,34
rect $configuration_8hch.html 496,7 621,34
+rect $fft_8hch.html 773,7 832,34
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc__incl.md5 b/Graphic_Equalizer/doc/html/fft_8hcc__incl.md5
index 6b90790..2c9dae2 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc__incl.md5
+++ b/Graphic_Equalizer/doc/html/fft_8hcc__incl.md5
@@ -1 +1 @@
-af4485cdfc938c062a18c2da9da4fe29 \ No newline at end of file
+13348b3a575ac6358b96e7a456338526 \ No newline at end of file
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc__incl.png b/Graphic_Equalizer/doc/html/fft_8hcc__incl.png
index 64ce389..b142ddb 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc__incl.png
+++ b/Graphic_Equalizer/doc/html/fft_8hcc__incl.png
Binary files differ
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.map b/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.map
index bf2ee37..615e423 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.map
+++ b/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.map
@@ -1,2 +1,3 @@
base referer
-rect $fft_8hcc.html#a1 167,8 237,34
+rect $fft_8hcc.html#a3 150,8 244,34
+rect $fft_8hcc.html#a2 293,8 362,34
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.md5 b/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.md5
index f927306..87668b8 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.md5
+++ b/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.md5
@@ -1 +1 @@
-f0c4c2af57885262b921645fe4f73262 \ No newline at end of file
+99e366a583ff5563d9b44801efa74ea1 \ No newline at end of file
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.png b/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.png
index 29c7f08..fd17c70 100644
--- a/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.png
+++ b/Graphic_Equalizer/doc/html/fft_8hcc_a5_cgraph.png
Binary files differ
diff --git a/Graphic_Equalizer/doc/html/fft_8hch-source.html b/Graphic_Equalizer/doc/html/fft_8hch-source.html
index b2141cb..e172771 100644
--- a/Graphic_Equalizer/doc/html/fft_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/fft_8hch-source.html
@@ -1,21 +1,47 @@
<!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/include/fft.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/fft.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
-<h1>fft.hch</h1><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00002 <span class="preprocessor"></span><span class="keywordtype">void</span> perform_fft(<span class="keywordtype">signed</span> 18 *pcm_audio);
-00003 <span class="keywordtype">void</span> perform_ifft(<span class="keywordtype">signed</span> 18 *modified_audio ,<span class="keywordtype">unsigned</span> 6 *ifft_info);
-00004 <span class="preprocessor">#else</span>
-00005 <span class="preprocessor"></span><span class="keywordtype">void</span> perform_fft(<span class="keywordtype">signed</span> 16 *pcm_audio);
-00006 <span class="keywordtype">void</span> perform_ifft(<span class="keywordtype">signed</span> 16 *modified_audio ,<span class="keywordtype">unsigned</span> 6 *ifft_info);
-00007 <span class="preprocessor">#endif</span>
-00008 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">equalize_audio</a>(audiodata_t *audiodata);
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+<h1>fft.hch</h1><a href="fft_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a><a class="code" href="fft_8hch.html#a0">00001</a> <span class="preprocessor">#define NUMBER_OF_COLUMNS 8</span>
+<a name="l00002"></a><a class="code" href="fft_8hch.html#a1">00002</a> <span class="preprocessor"></span><span class="preprocessor">#define NUMBER_OF_POINTS (1&lt;&lt;NUMBER_OF_COLUMNS)</span>
+<a name="l00003"></a><a class="code" href="fft_8hch.html#a2">00003</a> <span class="preprocessor"></span><span class="preprocessor">#define NUMBER_OF_FREQUENCIES (NUMBER_OF_POINTS&gt;&gt;1)</span>
+00004 <span class="preprocessor"></span>
+00005 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00006 <span class="preprocessor"></span><span class="comment">/*</span>
+00007 <span class="comment"> * This routine obtains the audio data from the audio I/O component and copies this </span>
+00008 <span class="comment"> * data to local arrays for calculating purposes, and calls the FFT algorithm.</span>
+00009 <span class="comment">*/</span>
+00010 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a4">perform_fft</a>(<span class="keywordtype">signed</span> 18 *pcm_audio);
+00011
+00012 <span class="comment">/* This routine calls the ifft algorithm and after completing that it obtains the </span>
+00013 <span class="comment"> * modified audio data and copies that to the output arrays of the audio I/O component. </span>
+00014 <span class="comment"> * Besides that it also fills the array used by the display routine for displaying the waveform.</span>
+00015 <span class="comment">*/</span>
+00016 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">perform_ifft</a>(<span class="keywordtype">signed</span> 18 *modified_audio ,<span class="keywordtype">unsigned</span> 6 *ifft_info);
+00017 <span class="preprocessor">#else</span>
+00018 <span class="preprocessor"></span><span class="comment">/*</span>
+00019 <span class="comment"> * This routine obtains the audio data from the audio I/O component and copies this </span>
+00020 <span class="comment"> * data to local arrays for calculating purposes, and calls the FFT algorithm.</span>
+00021 <span class="comment">*/</span>
+00022 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a4">perform_fft</a>(<span class="keywordtype">signed</span> 16 *pcm_audio);
+00023
+00024 <span class="comment">/* This routine calls the ifft algorithm and after completing that it obtains the </span>
+00025 <span class="comment"> * modified audio data and copies that to the output arrays of the audio I/O component. </span>
+00026 <span class="comment"> * Besides that it also fills the array used by the display routine for displaying the waveform.</span>
+00027 <span class="comment">*/</span>
+00028 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">perform_ifft</a>(<span class="keywordtype">signed</span> 16 *modified_audio ,<span class="keywordtype">unsigned</span> 6 *ifft_info);
+00029 <span class="preprocessor">#endif</span>
+00030 <span class="preprocessor"></span>
+00031 <span class="comment">/* This routine equalizes the frequencies derived by the FFT calculation, </span>
+00032 <span class="comment"> * according to the settings of the equalizer bars.</span>
+00033 <span class="comment">*/</span>
+00034 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a6">equalize_audio</a>(<a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata);
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/files.html b/Graphic_Equalizer/doc/html/files.html
index dce5f2a..aa7ca81 100644
--- a/Graphic_Equalizer/doc/html/files.html
+++ b/Graphic_Equalizer/doc/html/files.html
@@ -1,24 +1,25 @@
<!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: File Index</title>
+<title>Graphic Equalizer 2: File Index</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="qindexHL" href="files.html">File&nbsp;List</a> | <a class="qindex" href="globals.html">Globals</a></div>
-<h1>Graphic Equalizer File List</h1>Here is a list of all documented files with brief descriptions:<table>
+<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindexHL" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
+<h1>Graphic Equalizer 2 File List</h1>Here is a list of all files with brief descriptions:<table>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="audio_8hch.html">audio.hch</a> <a href="audio_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="configuration_8hch.html">configuration.hch</a> <a href="configuration_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="display_8hch.html">display.hch</a> <a href="display_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
- <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="display__shared_8hch.html">display_shared.hch</a> <a href="display__shared_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="display__shared_8hch.html">display_shared.hch</a> <a href="display__shared_8hch-source.html">[code]</a></td><td class="indexvalue">Datastructures and defines for usage when interacting with the display library </td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="eventhandler_8hch.html">eventhandler.hch</a> <a href="eventhandler_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="eventhandler__shared_8hch.html">eventhandler_shared.hch</a> <a href="eventhandler__shared_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="events_8hch.html">events.hch</a> <a href="events_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
- <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<b>fft.hch</b> <a href="fft_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="fft_8hch.html">fft.hch</a> <a href="fft_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="mouse_8hch.html">mouse.hch</a> <a href="mouse_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="mouse__shared_8hch.html">mouse_shared.hch</a> <a href="mouse__shared_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
- <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<b>runfft.hch</b> <a href="runfft_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="runfft_8hch.html">runfft.hch</a> <a href="runfft_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="smartmedia_8hch.html">smartmedia.hch</a> <a href="smartmedia_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
- <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<b>weights_256.hch</b> <a href="weights__256_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="smartmedia__shared_8hch.html">smartmedia_shared.hch</a> <a href="smartmedia__shared_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/<a class="el" href="weights__256_8hch.html">weights_256.hch</a> <a href="weights__256_8hch-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/<a class="el" href="audio_8hcc.html">audio.hcc</a> <a href="audio_8hcc-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/<a class="el" href="display_8hcc.html">display.hcc</a> <a href="display_8hcc-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/<a class="el" href="eventhandler_8hcc.html">eventhandler.hcc</a> <a href="eventhandler_8hcc-source.html">[code]</a></td><td class="indexvalue"></td></tr>
@@ -29,7 +30,7 @@
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/<a class="el" href="runfft_8hcc.html">runfft.hcc</a> <a href="runfft_8hcc-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/<a class="el" href="smartmedia_8hcc.html">smartmedia.hcc</a> <a href="smartmedia_8hcc-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:46 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:08 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/globals.html b/Graphic_Equalizer/doc/html/globals.html
index 7418674..e9794c7 100644
--- a/Graphic_Equalizer/doc/html/globals.html
+++ b/Graphic_Equalizer/doc/html/globals.html
@@ -1,29 +1,191 @@
<!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: Globals</title>
+<title>Graphic Equalizer 2: Globals</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="qindexHL" href="globals.html">Globals</a></div>
-<div class="qindex"><a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a></div>
+<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindexHL" href="globals.html">Globals</a></div>
+<div class="qindex"><a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_defs.html">Defines</a></div>
+<div class="qindex"><a class="qindex" href="#index__">_</a> | <a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_v">v</a> | <a class="qindex" href="#index_w">w</a></div>
<p>
-Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:<ul>
-<li>audio_init()
+
+<p>
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:<h3><a class="anchor" name="index__">- _ -</a></h3><ul>
+<li>_AUDIO_HCH
+: <a class="el" href="audio_8hch.html#a0">audio.hch</a><li>_CONFIGURATION_HCH
+: <a class="el" href="configuration_8hch.html#a0">configuration.hch</a><li>_DISPLAY_HCH
+: <a class="el" href="display_8hch.html#a0">display.hch</a><li>_DISPLAY_SHARED_HCH
+: <a class="el" href="display__shared_8hch.html#a0">display_shared.hch</a><li>_EVENTHANDLER_HCH
+: <a class="el" href="eventhandler_8hch.html#a0">eventhandler.hch</a><li>_EVENTHANDLER_SHARED_HCH
+: <a class="el" href="eventhandler__shared_8hch.html#a0">eventhandler_shared.hch</a><li>_EVENTS_HCH
+: <a class="el" href="events_8hch.html#a0">events.hch</a><li>_MOUSEDRIVER_HCH
+: <a class="el" href="mouse_8hch.html#a0">mouse.hch</a><li>_MOUSEDRIVER_SHARED_HCH
+: <a class="el" href="mouse__shared_8hch.html#a0">mouse_shared.hch</a><li>_SMARTMEDIA_HCH
+: <a class="el" href="smartmedia_8hch.html#a0">smartmedia.hch</a><li>_SMARTMEDIA_SHARED_HCH
+: <a class="el" href="smartmedia__shared_8hch.html#a0">smartmedia_shared.hch</a></ul>
+<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
+<li>ADDRESS_GRAPHMASK_END
+: <a class="el" href="smartmedia__shared_8hch.html#a27">smartmedia_shared.hch</a><li>ADDRESS_GRAPHMASK_START
+: <a class="el" href="smartmedia__shared_8hch.html#a26">smartmedia_shared.hch</a><li>ADDRESS_HELP_END
+: <a class="el" href="smartmedia__shared_8hch.html#a25">smartmedia_shared.hch</a><li>ADDRESS_HELP_START
+: <a class="el" href="smartmedia__shared_8hch.html#a24">smartmedia_shared.hch</a><li>ADDRESS_PRESET_DEMO_END
+: <a class="el" href="smartmedia__shared_8hch.html#a29">smartmedia_shared.hch</a><li>ADDRESS_PRESET_DEMO_START
+: <a class="el" href="smartmedia__shared_8hch.html#a28">smartmedia_shared.hch</a><li>ADDRESS_PRESET_RESET_END
+: <a class="el" href="smartmedia__shared_8hch.html#a31">smartmedia_shared.hch</a><li>ADDRESS_PRESET_RESET_START
+: <a class="el" href="smartmedia__shared_8hch.html#a30">smartmedia_shared.hch</a><li>ADDRESS_SKIN_END
+: <a class="el" href="smartmedia__shared_8hch.html#a23">smartmedia_shared.hch</a><li>ADDRESS_SKIN_START
+: <a class="el" href="smartmedia__shared_8hch.html#a22">smartmedia_shared.hch</a><li>AREA_EQUALIZER_MAX
+: <a class="el" href="display__shared_8hch.html#a21">display_shared.hch</a><li>AREA_EQUALIZER_MIN
+: <a class="el" href="display__shared_8hch.html#a20">display_shared.hch</a><li>AREA_SPECTRUM_ANALYZER
+: <a class="el" href="display__shared_8hch.html#a3">display_shared.hch</a><li>AREA_VOLUME_YAXIS
+: <a class="el" href="display__shared_8hch.html#a2">display_shared.hch</a><li>AREA_WAVEFORM
+: <a class="el" href="display__shared_8hch.html#a1">display_shared.hch</a><li>audio_init()
: <a class="el" href="audio_8hcc.html#a0">audio.hcc</a>, <a class="el" href="audio_8hch.html#a11">audio.hch</a><li>audio_main()
-: <a class="el" href="audio_8hcc.html#a1">audio.hcc</a>, <a class="el" href="audio_8hch.html#a12">audio.hch</a><li>calculate_fft()
-: <a class="el" href="fft_8hcc.html#a2">fft.hcc</a><li>display_main()
-: <a class="el" href="display_8hcc.html#a3">display.hcc</a>, <a class="el" href="display_8hch.html#a5">display.hch</a><li>equalize_audio()
-: <a class="el" href="fft_8hcc.html#a5">fft.hcc</a><li>eventhandler_main()
-: <a class="el" href="eventhandler_8hcc.html#a3">eventhandler.hcc</a>, <a class="el" href="eventhandler_8hch.html#a1">eventhandler.hch</a><li>load_preset()
-: <a class="el" href="events_8hcc.html#a2">events.hcc</a>, <a class="el" href="events_8hch.html#a1">events.hch</a><li>main()
-: <a class="el" href="main_8hcc.html#a1">main.hcc</a><li>mouse_main()
-: <a class="el" href="mouse_8hcc.html#a0">mouse.hcc</a>, <a class="el" href="mouse_8hch.html#a2">mouse.hch</a><li>multiply()
-: <a class="el" href="fft_8hcc.html#a1">fft.hcc</a><li>reload_equalizer()
-: <a class="el" href="display_8hcc.html#a4">display.hcc</a><li>smartmedia_init()
+: <a class="el" href="audio_8hcc.html#a1">audio.hcc</a>, <a class="el" href="audio_8hch.html#a12">audio.hch</a><li>AUDIO_NOT_READY
+: <a class="el" href="audio_8hch.html#a1">audio.hch</a><li>AUDIO_READY
+: <a class="el" href="audio_8hch.html#a2">audio.hch</a></ul>
+<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
+<li>BUTTON_CONCAVE_FULL
+: <a class="el" href="display__shared_8hch.html#a17">display_shared.hch</a><li>BUTTON_CONCAVE_HALF
+: <a class="el" href="display__shared_8hch.html#a16">display_shared.hch</a><li>BUTTON_CONVEX_FULL
+: <a class="el" href="display__shared_8hch.html#a13">display_shared.hch</a><li>BUTTON_CONVEX_HALF
+: <a class="el" href="display__shared_8hch.html#a14">display_shared.hch</a><li>BUTTON_DEMO
+: <a class="el" href="display__shared_8hch.html#a5">display_shared.hch</a><li>BUTTON_HELP
+: <a class="el" href="display__shared_8hch.html#a18">display_shared.hch</a><li>BUTTON_LOG
+: <a class="el" href="display__shared_8hch.html#a4">display_shared.hch</a><li>BUTTON_MODE
+: <a class="el" href="display__shared_8hch.html#a19">display_shared.hch</a><li>BUTTON_PRECISE
+: <a class="el" href="display__shared_8hch.html#a15">display_shared.hch</a><li>BUTTON_PRESET_1
+: <a class="el" href="display__shared_8hch.html#a7">display_shared.hch</a><li>BUTTON_PRESET_2
+: <a class="el" href="display__shared_8hch.html#a8">display_shared.hch</a><li>BUTTON_PRESET_3
+: <a class="el" href="display__shared_8hch.html#a9">display_shared.hch</a><li>BUTTON_PRESET_4
+: <a class="el" href="display__shared_8hch.html#a10">display_shared.hch</a><li>BUTTON_PRESET_5
+: <a class="el" href="display__shared_8hch.html#a11">display_shared.hch</a><li>BUTTON_PRESET_6
+: <a class="el" href="display__shared_8hch.html#a12">display_shared.hch</a><li>BUTTON_RESET
+: <a class="el" href="display__shared_8hch.html#a6">display_shared.hch</a></ul>
+<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
+<li>calculate_fft()
+: <a class="el" href="fft_8hcc.html#a3">fft.hcc</a><li>CPLDRun
+: <a class="el" href="smartmedia_8hch.html#a7">smartmedia.hch</a></ul>
+<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
+<li>DC_COMPONENT
+: <a class="el" href="fft_8hcc.html#a0">fft.hcc</a><li>display_main()
+: <a class="el" href="display_8hcc.html#a2">display.hcc</a>, <a class="el" href="display_8hch.html#a6">display.hch</a></ul>
+<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
+<li>eq_settings
+: <a class="el" href="fft_8hcc.html#a1">fft.hcc</a><li>equalize_audio()
+: <a class="el" href="fft_8hcc.html#a6">fft.hcc</a>, <a class="el" href="fft_8hch.html#a5">fft.hch</a><li>equalizer_table
+: <a class="el" href="events_8hcc.html#a1">events.hcc</a>, <a class="el" href="eventhandler__shared_8hch.html#a8">eventhandler_shared.hch</a><li>equalizer_table_inv
+: <a class="el" href="events_8hcc.html#a2">events.hcc</a>, <a class="el" href="eventhandler__shared_8hch.html#a9">eventhandler_shared.hch</a><li>EQUALIZERMODE_FULL
+: <a class="el" href="eventhandler__shared_8hch.html#a4">eventhandler_shared.hch</a><li>EQUALIZERMODE_HALF
+: <a class="el" href="eventhandler__shared_8hch.html#a5">eventhandler_shared.hch</a><li>EQUALIZERMODE_PRECISE
+: <a class="el" href="eventhandler__shared_8hch.html#a6">eventhandler_shared.hch</a><li>eventhandler_main()
+: <a class="el" href="eventhandler_8hcc.html#a2">eventhandler.hcc</a>, <a class="el" href="eventhandler_8hch.html#a3">eventhandler.hch</a></ul>
+<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
+<li>FRACBITS
+: <a class="el" href="weights__256_8hch.html#a1">weights_256.hch</a></ul>
+<h3><a class="anchor" name="index_h">- h -</a></h3><ul>
+<li>HARDWARE_MULTIPLY
+: <a class="el" href="configuration_8hch.html#a4">configuration.hch</a><li>HAVE_DEBUG
+: <a class="el" href="configuration_8hch.html#a1">configuration.hch</a><li>HAVE_SMARTMEDIA
+: <a class="el" href="configuration_8hch.html#a2">configuration.hch</a></ul>
+<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
+<li>INTBITS
+: <a class="el" href="weights__256_8hch.html#a0">weights_256.hch</a></ul>
+<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
+<li>LINE_IN
+: <a class="el" href="audio_8hch.html#a3">audio.hch</a><li>load_preset()
+: <a class="el" href="events_8hcc.html#a3">events.hcc</a>, <a class="el" href="events_8hch.html#a1">events.hch</a><li>LOAD_PRESET_DEMO
+: <a class="el" href="eventhandler_8hch.html#a2">eventhandler.hch</a><li>LOAD_PRESET_RESET
+: <a class="el" href="eventhandler_8hch.html#a1">eventhandler.hch</a></ul>
+<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
+<li>main()
+: <a class="el" href="main_8hcc.html#a1">main.hcc</a><li>maskupdate_notification
+: <a class="el" href="eventhandler_8hcc.html#a0">eventhandler.hcc</a>, <a class="el" href="display_8hcc.html#a1">display.hcc</a><li>MIC_IN
+: <a class="el" href="audio_8hch.html#a4">audio.hch</a><li>MODE_GRAPH
+: <a class="el" href="eventhandler__shared_8hch.html#a3">eventhandler_shared.hch</a><li>MODE_HELP
+: <a class="el" href="eventhandler__shared_8hch.html#a2">eventhandler_shared.hch</a><li>MODE_SKIN
+: <a class="el" href="eventhandler__shared_8hch.html#a1">eventhandler_shared.hch</a><li>mouse_main()
+: <a class="el" href="mouse_8hcc.html#a0">mouse.hcc</a>, <a class="el" href="mouse_8hch.html#a2">mouse.hch</a><li>MOUSE_NOT_UPDATED
+: <a class="el" href="mouse__shared_8hch.html#a1">mouse_shared.hch</a><li>MOUSE_STATE_DOWN
+: <a class="el" href="mouse__shared_8hch.html#a5">mouse_shared.hch</a><li>MOUSE_STATE_ON_PRESS
+: <a class="el" href="mouse__shared_8hch.html#a4">mouse_shared.hch</a><li>MOUSE_STATE_ON_RELEASE
+: <a class="el" href="mouse__shared_8hch.html#a6">mouse_shared.hch</a><li>MOUSE_STATE_UP
+: <a class="el" href="mouse__shared_8hch.html#a3">mouse_shared.hch</a><li>MOUSE_UPDATED
+: <a class="el" href="mouse__shared_8hch.html#a2">mouse_shared.hch</a><li>MouseRun
+: <a class="el" href="mouse_8hch.html#a1">mouse.hch</a><li>multiply()
+: <a class="el" href="fft_8hcc.html#a2">fft.hcc</a></ul>
+<h3><a class="anchor" name="index_n">- n -</a></h3><ul>
+<li>NUMBER_OF_COLUMNS
+: <a class="el" href="fft_8hch.html#a0">fft.hch</a><li>NUMBER_OF_FREQUENCIES
+: <a class="el" href="fft_8hch.html#a2">fft.hch</a><li>NUMBER_OF_POINTS
+: <a class="el" href="fft_8hch.html#a1">fft.hch</a></ul>
+<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
+<li>PAL_TARGET_CLOCK_RATE
+: <a class="el" href="main_8hcc.html#a0">main.hcc</a>, <a class="el" href="display_8hcc.html#a0">display.hcc</a><li>perform_fft()
+: <a class="el" href="fft_8hcc.html#a4">fft.hcc</a>, <a class="el" href="fft_8hch.html#a3">fft.hch</a><li>PERFORM_FFT_CALCULATION
+: <a class="el" href="configuration_8hch.html#a5">configuration.hch</a><li>perform_ifft()
+: <a class="el" href="fft_8hcc.html#a5">fft.hcc</a>, <a class="el" href="fft_8hch.html#a4">fft.hch</a><li>PIXEL
+: <a class="el" href="display_8hch.html#a1">display.hch</a><li>PIXEL_EQUALIZER
+: <a class="el" href="display_8hch.html#a3">display.hch</a><li>PIXEL_SPECTRUM
+: <a class="el" href="display_8hch.html#a4">display.hch</a><li>PIXEL_VOLUME
+: <a class="el" href="display_8hch.html#a2">display.hch</a><li>PIXEL_WAVEFORM
+: <a class="el" href="display_8hch.html#a5">display.hch</a><li>presets_default_values
+: <a class="el" href="events_8hcc.html#a0">events.hcc</a></ul>
+<h3><a class="anchor" name="index_r">- r -</a></h3><ul>
+<li>READ
+: <a class="el" href="smartmedia_8hch.html#a1">smartmedia.hch</a><li>reload_equalizer()
+: <a class="el" href="display_8hcc.html#a3">display.hcc</a>, <a class="el" href="display_8hch.html#a7">display.hch</a><li>RunFFT()
+: <a class="el" href="runfft_8hch.html#a0">runfft.hch</a></ul>
+<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
+<li>SIZE_GRAPH
+: <a class="el" href="smartmedia__shared_8hch.html#a3">smartmedia_shared.hch</a><li>SIZE_GRAPHMASK
+: <a class="el" href="smartmedia__shared_8hch.html#a6">smartmedia_shared.hch</a><li>SIZE_HELP
+: <a class="el" href="smartmedia__shared_8hch.html#a2">smartmedia_shared.hch</a><li>SIZE_HELPMASK
+: <a class="el" href="smartmedia__shared_8hch.html#a5">smartmedia_shared.hch</a><li>SIZE_PRESET
+: <a class="el" href="smartmedia__shared_8hch.html#a7">smartmedia_shared.hch</a><li>SIZE_SKIN
+: <a class="el" href="smartmedia__shared_8hch.html#a1">smartmedia_shared.hch</a><li>SIZE_SKINMASK
+: <a class="el" href="smartmedia__shared_8hch.html#a4">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_GRAPHMASK_END
+: <a class="el" href="smartmedia__shared_8hch.html#a19">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_GRAPHMASK_START
+: <a class="el" href="smartmedia__shared_8hch.html#a12">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_HELP_END
+: <a class="el" href="smartmedia__shared_8hch.html#a17">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_HELP_START
+: <a class="el" href="smartmedia__shared_8hch.html#a10">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_HELPMASK_END
+: <a class="el" href="smartmedia__shared_8hch.html#a18">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_HELPMASK_START
+: <a class="el" href="smartmedia__shared_8hch.html#a11">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_PRESET_DEMO_END
+: <a class="el" href="smartmedia__shared_8hch.html#a20">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_PRESET_DEMO_START
+: <a class="el" href="smartmedia__shared_8hch.html#a13">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_PRESET_RESET_END
+: <a class="el" href="smartmedia__shared_8hch.html#a21">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_PRESET_RESET_START
+: <a class="el" href="smartmedia__shared_8hch.html#a14">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_SKIN_END
+: <a class="el" href="smartmedia__shared_8hch.html#a15">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_SKIN_START
+: <a class="el" href="smartmedia__shared_8hch.html#a8">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_SKINMASK_END
+: <a class="el" href="smartmedia__shared_8hch.html#a16">smartmedia_shared.hch</a><li>SMARTMEDIA_ADDRESS_SKINMASK_START
+: <a class="el" href="smartmedia__shared_8hch.html#a9">smartmedia_shared.hch</a><li>smartmedia_init()
: <a class="el" href="smartmedia_8hcc.html#a0">smartmedia.hcc</a>, <a class="el" href="smartmedia_8hch.html#a9">smartmedia.hch</a><li>smartmedia_loaddata()
-: <a class="el" href="smartmedia_8hcc.html#a1">smartmedia.hcc</a>, <a class="el" href="smartmedia_8hch.html#a10">smartmedia.hch</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+: <a class="el" href="smartmedia_8hcc.html#a1">smartmedia.hcc</a>, <a class="el" href="smartmedia_8hch.html#a10">smartmedia.hch</a><li>SmartMediaRun
+: <a class="el" href="smartmedia_8hch.html#a8">smartmedia.hch</a><li>SR_11025
+: <a class="el" href="audio_8hch.html#a6">audio.hch</a><li>SR_16000
+: <a class="el" href="audio_8hch.html#a7">audio.hch</a><li>SR_22050
+: <a class="el" href="audio_8hch.html#a8">audio.hch</a><li>SR_44100
+: <a class="el" href="audio_8hch.html#a9">audio.hch</a><li>SR_48000
+: <a class="el" href="audio_8hch.html#a10">audio.hch</a><li>SR_8000
+: <a class="el" href="audio_8hch.html#a5">audio.hch</a><li>STAGE_LOAD_GRAPH
+: <a class="el" href="smartmedia_8hch.html#a5">smartmedia.hch</a><li>STAGE_LOAD_HELP
+: <a class="el" href="smartmedia_8hch.html#a4">smartmedia.hch</a><li>STAGE_LOAD_PRESET
+: <a class="el" href="smartmedia_8hch.html#a6">smartmedia.hch</a><li>STAGE_LOAD_SKIN
+: <a class="el" href="smartmedia_8hch.html#a3">smartmedia.hch</a></ul>
+<h3><a class="anchor" name="index_u">- u -</a></h3><ul>
+<li>USE_RUNFFT
+: <a class="el" href="configuration_8hch.html#a3">configuration.hch</a><li>USE_UNSIGNED_AUDIO
+: <a class="el" href="configuration_8hch.html#a6">configuration.hch</a></ul>
+<h3><a class="anchor" name="index_v">- v -</a></h3><ul>
+<li>volumecontrol_table
+: <a class="el" href="eventhandler_8hcc.html#a1">eventhandler.hcc</a>, <a class="el" href="eventhandler__shared_8hch.html#a7">eventhandler_shared.hch</a></ul>
+<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
+<li>weight_im
+: <a class="el" href="weights__256_8hch.html#a3">weights_256.hch</a><li>weight_re
+: <a class="el" href="weights__256_8hch.html#a2">weights_256.hch</a><li>WRITE
+: <a class="el" href="smartmedia_8hch.html#a2">smartmedia.hch</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:20 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/globals_func.html b/Graphic_Equalizer/doc/html/globals_func.html
index 7f90955..b62211d 100644
--- a/Graphic_Equalizer/doc/html/globals_func.html
+++ b/Graphic_Equalizer/doc/html/globals_func.html
@@ -1,29 +1,32 @@
<!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: Globals - Functions</title>
+<title>Graphic Equalizer 2: Globals - Functions</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="qindexHL" href="globals.html">Globals</a></div>
-<div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindexHL" href="globals_func.html">Functions</a></div>
+<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindexHL" href="globals.html">Globals</a></div>
+<div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindexHL" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_defs.html">Defines</a></div>
<p>
<ul>
<li>audio_init()
: <a class="el" href="audio_8hcc.html#a0">audio.hcc</a>, <a class="el" href="audio_8hch.html#a11">audio.hch</a><li>audio_main()
: <a class="el" href="audio_8hcc.html#a1">audio.hcc</a>, <a class="el" href="audio_8hch.html#a12">audio.hch</a><li>calculate_fft()
-: <a class="el" href="fft_8hcc.html#a2">fft.hcc</a><li>display_main()
-: <a class="el" href="display_8hcc.html#a3">display.hcc</a>, <a class="el" href="display_8hch.html#a5">display.hch</a><li>equalize_audio()
-: <a class="el" href="fft_8hcc.html#a5">fft.hcc</a><li>eventhandler_main()
-: <a class="el" href="eventhandler_8hcc.html#a3">eventhandler.hcc</a>, <a class="el" href="eventhandler_8hch.html#a1">eventhandler.hch</a><li>load_preset()
-: <a class="el" href="events_8hcc.html#a2">events.hcc</a>, <a class="el" href="events_8hch.html#a1">events.hch</a><li>main()
+: <a class="el" href="fft_8hcc.html#a3">fft.hcc</a><li>display_main()
+: <a class="el" href="display_8hcc.html#a2">display.hcc</a>, <a class="el" href="display_8hch.html#a6">display.hch</a><li>equalize_audio()
+: <a class="el" href="fft_8hcc.html#a6">fft.hcc</a>, <a class="el" href="fft_8hch.html#a5">fft.hch</a><li>eventhandler_main()
+: <a class="el" href="eventhandler_8hcc.html#a2">eventhandler.hcc</a>, <a class="el" href="eventhandler_8hch.html#a3">eventhandler.hch</a><li>load_preset()
+: <a class="el" href="events_8hcc.html#a3">events.hcc</a>, <a class="el" href="events_8hch.html#a1">events.hch</a><li>main()
: <a class="el" href="main_8hcc.html#a1">main.hcc</a><li>mouse_main()
: <a class="el" href="mouse_8hcc.html#a0">mouse.hcc</a>, <a class="el" href="mouse_8hch.html#a2">mouse.hch</a><li>multiply()
-: <a class="el" href="fft_8hcc.html#a1">fft.hcc</a><li>reload_equalizer()
-: <a class="el" href="display_8hcc.html#a4">display.hcc</a><li>smartmedia_init()
+: <a class="el" href="fft_8hcc.html#a2">fft.hcc</a><li>perform_fft()
+: <a class="el" href="fft_8hcc.html#a4">fft.hcc</a>, <a class="el" href="fft_8hch.html#a3">fft.hch</a><li>perform_ifft()
+: <a class="el" href="fft_8hcc.html#a5">fft.hcc</a>, <a class="el" href="fft_8hch.html#a4">fft.hch</a><li>reload_equalizer()
+: <a class="el" href="display_8hcc.html#a3">display.hcc</a>, <a class="el" href="display_8hch.html#a7">display.hch</a><li>RunFFT()
+: <a class="el" href="runfft_8hch.html#a0">runfft.hch</a><li>smartmedia_init()
: <a class="el" href="smartmedia_8hcc.html#a0">smartmedia.hcc</a>, <a class="el" href="smartmedia_8hch.html#a9">smartmedia.hch</a><li>smartmedia_loaddata()
: <a class="el" href="smartmedia_8hcc.html#a1">smartmedia.hcc</a>, <a class="el" href="smartmedia_8hch.html#a10">smartmedia.hch</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:20 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/graph_legend.html b/Graphic_Equalizer/doc/html/graph_legend.html
index 76c166f..f95cb2a 100644
--- a/Graphic_Equalizer/doc/html/graph_legend.html
+++ b/Graphic_Equalizer/doc/html/graph_legend.html
@@ -1,10 +1,10 @@
<!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: Graph Legend</title>
+<title>Graphic Equalizer 2: Graph Legend</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<h1>Graph Legend</h1>This page explains how to interpret the graphs that are generated by doxygen.<p>
Consider the following example: <div class="fragment"><pre class="fragment"><span class="comment">/*! Invisible class because of truncation */</span>
<span class="keyword">class </span>Invisible { };
@@ -67,7 +67,7 @@ A purple dashed arrow is used if a class is contained or used by another class.
<li>
A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:51 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:20 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/index.html b/Graphic_Equalizer/doc/html/index.html
index d51127f..bbefe91 100644
--- a/Graphic_Equalizer/doc/html/index.html
+++ b/Graphic_Equalizer/doc/html/index.html
@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
-<title>Graphic Equalizer</title></head>
+<title>Graphic Equalizer 2</title></head>
<frameset cols="250,*">
<frame src="tree.html" name="treefrm">
<frame src="main.html" name="basefrm">
diff --git a/Graphic_Equalizer/doc/html/main.html b/Graphic_Equalizer/doc/html/main.html
index 60b2f95..421fbcc 100644
--- a/Graphic_Equalizer/doc/html/main.html
+++ b/Graphic_Equalizer/doc/html/main.html
@@ -1,13 +1,13 @@
<!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: Main Page</title>
+<title>Graphic Equalizer 2: Main Page</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
-<div class="qindex"><a class="qindexHL" 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>
-<h1>Graphic Equalizer Documentation</h1>
+<div class="qindex"><a class="qindexHL" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
+<h1>Graphic Equalizer 2 Documentation</h1>
<p>
-<h3 align="center">2.0.1 </h3><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:46 2004 for Graphic Equalizer by&nbsp;
+<h3 align="center">2.0.1 </h3><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:08 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/main_8hcc-source.html b/Graphic_Equalizer/doc/html/main_8hcc-source.html
index b95c023..b1bf307 100644
--- a/Graphic_Equalizer/doc/html/main_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/main_8hcc-source.html
@@ -1,17 +1,17 @@
<!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/main.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/main.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>main.hcc</h1><a href="main_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="comment">/*</span>
00020 <span class="comment"> * Set the Clock rate for this domain. 25.175 Mhz is required for the Video output.</span>
00021 <span class="comment"> */</span>
-00022 <span class="preprocessor">#define PAL_TARGET_CLOCK_RATE 25175000</span>
+<a name="l00022"></a><a class="code" href="main_8hcc.html#a0">00022</a> <span class="preprocessor">#define PAL_TARGET_CLOCK_RATE 25175000</span>
00023 <span class="preprocessor"></span>
00024 <span class="comment">/******** System Includes *************/</span>
00025 <span class="preprocessor">#include "pal_master.hch"</span>
@@ -27,8 +27,8 @@
00035 <span class="preprocessor">#include "<a class="code" href="display_8hch.html">display.hch</a>"</span>
00036 <span class="preprocessor">#include "<a class="code" href="smartmedia_8hch.html">smartmedia.hch</a>"</span>
00037
-00038 <span class="preprocessor">#include "fft.hch"</span>
-00039 <span class="preprocessor">#include "runfft.hch"</span>
+00038 <span class="preprocessor">#include "<a class="code" href="fft_8hch.html">fft.hch</a>"</span>
+00039 <span class="preprocessor">#include "<a class="code" href="runfft_8hch.html">runfft.hch</a>"</span>
00040
00041 <span class="preprocessor">#if HAVE_DEBUG</span>
00042 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span>
@@ -44,10 +44,10 @@
00058 macro expr AudioOut = PalAudioOutCT(0);
00059 macro expr RAM_BANK0 = PalPL2RAMCT(0);
00060
-00061 mousedata_t mousedata;
-00062 events_t events;
-00063 audiodata_t audiodata;
-00064 skindata_t skindata;
+00061 <a class="code" href="structmousedata__t.html">mousedata_t</a> mousedata;
+00062 <a class="code" href="structevents__t.html">events_t</a> events;
+00063 <a class="code" href="structaudiodata__t.html">audiodata_t</a> audiodata;
+00064 <a class="code" href="structskindata__t.html">skindata_t</a> skindata;
00065 <span class="keywordtype">unsigned</span> 1 result;
00066
00067 <span class="comment">/*</span>
@@ -59,105 +59,94 @@
00073 PalVideoOutRequire(1);
00074 PalAudioInRequire(1);
00075 PalAudioOutRequire(1);
-00076 PalPL2RAMRequire(1);
-00077
-00078 <span class="comment">/*</span>
-00079 <span class="comment"> * We verify some datawidths here at compile time. This to ensure</span>
-00080 <span class="comment"> * successfull operation.</span>
-00081 <span class="comment"> */</span>
-00082 assert (PalVideoOutGetColorWidthCT(VideoOut) == 24, 0,
-00083 <span class="stringliteral">"We need a 24-bit color Display."</span>);
-00084 assert (PalPL2RAMGetDataWidthCT(RAM_BANK0) &gt;= 32, 0,
-00085 <span class="stringliteral">"We can't work with anything less then 32 bits wide ram."</span>);
-00086
-00087 <span class="comment">/*</span>
-00088 <span class="comment"> * Run The Following main tasks in parallel.</span>
-00089 <span class="comment"> */</span>
-00090 par {
-00091 <span class="comment">/*</span>
-00092 <span class="comment"> * Primary task is to 'Run' several hardware simultaniously.</span>
-00093 <span class="comment"> */</span>
-00094 PalVideoOutRun(VideoOut, ClockRate);
-00095 MouseRun(ClockRate);
-00096 PalAudioInRun(AudioIn, ClockRate);
-00097 PalAudioOutRun(AudioOut, ClockRate);
-00098 PalPL2RAMRun(RAM_BANK0, ClockRate);
-00099 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
-00100 <span class="preprocessor"></span> <span class="comment">/*</span>
-00101 <span class="comment"> * The smartmedia device needs the CPLD to run also.</span>
-00102 <span class="comment"> */</span>
-00103 CPLDRun(ClockRate);
-00104 SmartMediaRun(ClockRate);
-00105 <span class="preprocessor">#endif</span>
-00106 <span class="preprocessor"></span><span class="preprocessor">#if HAVE_DEBUG</span>
-00107 <span class="preprocessor"></span> RC200RS232Run(RC200RS232_115200Baud, RC200RS232ParityNone,
-00108 RC200RS232FlowControlNone, ClockRate);
-00109 <span class="preprocessor">#endif</span>
-00110 <span class="preprocessor"></span>
-00111 <span class="comment">/*</span>
-00112 <span class="comment"> * Parallel to our Primary tasks we run the application.</span>
-00113 <span class="comment"> */</span>
-00114 seq {
-00115 <span class="comment">/*</span>
-00116 <span class="comment"> * But first we need to initialize Video and Audio.</span>
-00117 <span class="comment"> * We also load the data from the SmartMedia card</span>
-00118 <span class="comment"> * into the ram.</span>
-00119 <span class="comment"> */</span>
-00120 <span class="preprocessor">#if HAVE_DEBUG</span>
-00121 <span class="preprocessor"></span> print_cls();
-00122 print_string(<span class="stringliteral">"Graphic Equalizer 2"</span>);
-00123 print_eol();
-00124 <span class="preprocessor">#endif</span>
-00125 <span class="preprocessor"></span> PalVideoOutEnable(VideoOut);
-00126 PalAudioInEnable(AudioIn);
-00127 PalAudioOutEnable(AudioOut);
-00128 <a class="code" href="audio_8hcc.html#a0">audio_init</a>(6, LINE_IN, SR_44100, AudioIn, AudioOut);
-00129 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
-00130 <span class="preprocessor"></span> <span class="comment">/*</span>
-00131 <span class="comment"> * Once we properly setup the SmartMedia we load our</span>
-00132 <span class="comment"> * data folowed by our main program loop.</span>
-00133 <span class="comment"> */</span>
-00134 result = <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>();
-00135 <span class="keywordflow">if</span> (!result) {
-00136 <span class="preprocessor">#endif</span>
-00137 <span class="preprocessor"></span><span class="preprocessor">#if HAVE_DEBUG</span>
-00138 <span class="preprocessor"></span> print_string(<span class="stringliteral">"Loading Skin ..."</span>);
-00139 <span class="preprocessor">#endif</span>
-00140 <span class="preprocessor"></span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(&amp;skindata);
-00141 <span class="preprocessor">#if HAVE_DEBUG</span>
-00142 <span class="preprocessor"></span> print_eol();
-00143 print_string(<span class="stringliteral">"Done Loading Skin ..."</span>);
-00144 print_eol();
-00145 print_string(<span class="stringliteral">"Running Main Application."</span>);
-00146 print_eol();
-00147 <span class="preprocessor">#endif</span>
-00148 <span class="preprocessor"></span>
-00149 <span class="comment">/*</span>
-00150 <span class="comment"> * Main application starts here!</span>
-00151 <span class="comment"> */</span>
-00152 par {
-00153 <span class="comment">/*</span>
-00154 <span class="comment"> * From here we run the mouse driver, audio</span>
-00155 <span class="comment"> * and display in parallel. None of these</span>
-00156 <span class="comment"> * should ever return.</span>
-00157 <span class="comment"> */</span>
-00158 <a class="code" href="mouse_8hcc.html#a0">mouse_main</a>(&amp;mousedata);
-00159 <a class="code" href="display_8hcc.html#a3">display_main</a>(&amp;skindata, &amp;audiodata, &amp;events, &amp;mousedata);
-00160 <a class="code" href="eventhandler_8hcc.html#a3">eventhandler_main</a>(&amp;audiodata, &amp;events, &amp;mousedata);
-00161 <a class="code" href="audio_8hcc.html#a1">audio_main</a>(audiodata, AudioIn, AudioOut);
-00162 }
-00163 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
-00164 <span class="preprocessor"></span> } <span class="keywordflow">else</span> {
-00165 <span class="preprocessor">#if HAVE_DEBUG</span>
-00166 <span class="preprocessor"></span> print_string(<span class="stringliteral">"Error Initializing SmartMedia"</span>);
-00167 <span class="preprocessor">#endif</span>
-00168 <span class="preprocessor"></span> }
-00169 <span class="preprocessor">#endif</span>
-00170 <span class="preprocessor"></span> }
-00171 }
-00172
-00173 } <span class="comment">/* --- main() --- */</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+00076
+00077 <span class="comment">/*</span>
+00078 <span class="comment"> * We verify some datawidths here at compile time. This to ensure</span>
+00079 <span class="comment"> * successfull operation.</span>
+00080 <span class="comment"> */</span>
+00081 assert (PalVideoOutGetColorWidthCT(VideoOut) == 24, 0,
+00082 <span class="stringliteral">"We need a 24-bit color Display."</span>);
+00083 assert (PalPL2RAMGetDataWidthCT(RAM_BANK0) &gt;= 32, 0,
+00084 <span class="stringliteral">"We can't work with anything less then 32 bits wide ram."</span>);
+00085
+00086 <span class="comment">/*</span>
+00087 <span class="comment"> * Run The Following main tasks in parallel.</span>
+00088 <span class="comment"> */</span>
+00089 par {
+00090 <span class="comment">/*</span>
+00091 <span class="comment"> * Primary task is to 'Run' several hardware simultaniously.</span>
+00092 <span class="comment"> */</span>
+00093 PalVideoOutRun(VideoOut, ClockRate);
+00094 <a class="code" href="mouse_8hch.html#a1">MouseRun</a>(ClockRate);
+00095 PalAudioInRun(AudioIn, ClockRate);
+00096 PalAudioOutRun(AudioOut, ClockRate);
+00097 PalPL2RAMRun(RAM_BANK0, ClockRate);
+00098 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
+00099 <span class="preprocessor"></span> <span class="comment">/*</span>
+00100 <span class="comment"> * The smartmedia device needs the CPLD to run also.</span>
+00101 <span class="comment"> */</span>
+00102 <a class="code" href="smartmedia_8hch.html#a7">CPLDRun</a>(ClockRate);
+00103 <a class="code" href="smartmedia_8hch.html#a8">SmartMediaRun</a>(ClockRate);
+00104 <span class="preprocessor">#endif</span>
+00105 <span class="preprocessor"></span><span class="preprocessor">#if HAVE_DEBUG</span>
+00106 <span class="preprocessor"></span> RC200RS232Run(RC200RS232_115200Baud, RC200RS232ParityNone,
+00107 RC200RS232FlowControlNone, ClockRate);
+00108 <span class="preprocessor">#endif</span>
+00109 <span class="preprocessor"></span>
+00110 <span class="comment">/*</span>
+00111 <span class="comment"> * Parallel to our Primary tasks we run the application.</span>
+00112 <span class="comment"> */</span>
+00113 seq {
+00114 <span class="comment">/*</span>
+00115 <span class="comment"> * But first we need to initialize Video and Audio.</span>
+00116 <span class="comment"> * We also load the data from the SmartMedia card</span>
+00117 <span class="comment"> * into the ram.</span>
+00118 <span class="comment"> */</span>
+00119 <span class="preprocessor">#if HAVE_DEBUG</span>
+00120 <span class="preprocessor"></span> print_cls();
+00121 print_string(<span class="stringliteral">"Graphic Equalizer 2"</span>);
+00122 print_eol();
+00123 <span class="preprocessor">#endif</span>
+00124 <span class="preprocessor"></span> PalVideoOutEnable(VideoOut);
+00125 PalAudioInEnable(AudioIn);
+00126 PalAudioOutEnable(AudioOut);
+00127 <a class="code" href="audio_8hcc.html#a0">audio_init</a>(6, <a class="code" href="audio_8hch.html#a3">LINE_IN</a>, <a class="code" href="audio_8hch.html#a9">SR_44100</a>, AudioIn, AudioOut);
+00128 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
+00129 <span class="preprocessor"></span> <span class="comment">/*</span>
+00130 <span class="comment"> * Once we properly setup the SmartMedia we load our</span>
+00131 <span class="comment"> * data folowed by our main program loop.</span>
+00132 <span class="comment"> */</span>
+00133 result = <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>();
+00134 <span class="keywordflow">if</span> (!result) {
+00135 <span class="preprocessor">#endif</span>
+00136 <span class="preprocessor"></span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(&amp;skindata);
+00137
+00138 <span class="comment">/*</span>
+00139 <span class="comment"> * Main application starts here!</span>
+00140 <span class="comment"> */</span>
+00141 par {
+00142 <span class="comment">/*</span>
+00143 <span class="comment"> * From here we run the mouse driver, audio</span>
+00144 <span class="comment"> * and display in parallel. None of these</span>
+00145 <span class="comment"> * should ever return.</span>
+00146 <span class="comment"> */</span>
+00147 <a class="code" href="mouse_8hcc.html#a0">mouse_main</a>(&amp;mousedata);
+00148 <a class="code" href="display_8hcc.html#a2">display_main</a>(&amp;skindata, &amp;audiodata, &amp;events, &amp;mousedata);
+00149 <a class="code" href="eventhandler_8hcc.html#a2">eventhandler_main</a>(&amp;audiodata, &amp;events, &amp;mousedata);
+00150 <a class="code" href="audio_8hcc.html#a1">audio_main</a>(audiodata, AudioIn, AudioOut);
+00151 }
+00152 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
+00153 <span class="preprocessor"></span> } <span class="keywordflow">else</span> {
+00154 <span class="preprocessor">#if HAVE_DEBUG</span>
+00155 <span class="preprocessor"></span> print_string(<span class="stringliteral">"Error Initializing SmartMedia"</span>);
+00156 <span class="preprocessor">#endif</span>
+00157 <span class="preprocessor"></span> }
+00158 <span class="preprocessor">#endif</span>
+00159 <span class="preprocessor"></span> }
+00160 }
+00161
+00162 } <span class="comment">/* --- main() --- */</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/main_8hcc.html b/Graphic_Equalizer/doc/html/main_8hcc.html
index e2ed5f2..bd9c7ed 100644
--- a/Graphic_Equalizer/doc/html/main_8hcc.html
+++ b/Graphic_Equalizer/doc/html/main_8hcc.html
@@ -1,10 +1,10 @@
<!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/main.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/main.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>main.hcc File Reference</h1><code>#include "pal_master.hch"</code><br>
@@ -17,8 +17,8 @@
<code>#include "<a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>"</code><br>
<code>#include "<a class="el" href="display_8hch-source.html">display.hch</a>"</code><br>
<code>#include "<a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>"</code><br>
-<code>#include "fft.hch"</code><br>
-<code>#include "runfft.hch"</code><br>
+<code>#include "<a class="el" href="fft_8hch-source.html">fft.hch</a>"</code><br>
+<code>#include "<a class="el" href="runfft_8hch-source.html">runfft.hch</a>"</code><br>
<p>
Include dependency graph for main.hcc:<p><center><img src="main_8hcc__incl.png" border="0" usemap="#main.hcc_map" alt="Include dependency graph"></center>
@@ -32,13 +32,16 @@ Include dependency graph for main.hcc:<p><center><img src="main_8hcc__incl.png"
<area href="display__shared_8hch.html" shape="rect" coords="1015,7,1151,34" alt="">
<area href="display_8hch.html" shape="rect" coords="1175,7,1263,34" alt="">
<area href="smartmedia_8hch.html" shape="rect" coords="1287,7,1405,34" alt="">
-<area href="fft_8hch-source.html" shape="rect" coords="1429,7,1487,34" alt="">
-<area href="runfft_8hch-source.html" shape="rect" coords="1511,7,1589,34" alt="">
+<area href="fft_8hch.html" shape="rect" coords="1429,7,1487,34" alt="">
+<area href="runfft_8hch.html" shape="rect" coords="1511,7,1589,34" alt="">
</map>
<p>
<a href="main_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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8hcc.html#a0">PAL_TARGET_CLOCK_RATE</a>&nbsp;&nbsp;&nbsp;25175000</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="main_8hcc.html#a1">main</a> (void)</td></tr>
@@ -46,7 +49,7 @@ Include dependency graph for main.hcc:<p><center><img src="main_8hcc__incl.png"
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -60,7 +63,33 @@ Change history</a></h2>
20041011: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="main_8hcc-source.html">main.hcc</a>.<hr><h2>Function Documentation</h2>
+Definition in file <a class="el" href="main_8hcc-source.html">main.hcc</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="main.hcc::PAL_TARGET_CLOCK_RATE"></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">#define PAL_TARGET_CLOCK_RATE&nbsp;&nbsp;&nbsp;25175000 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="main_8hcc-source.html#l00022">22</a> of file <a class="el" href="main_8hcc-source.html">main.hcc</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
<a class="anchor" name="a1" doxytag="main.hcc::main"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -98,7 +127,7 @@ Main Application Loop.
<p>
Definition at line <a class="el" href="main_8hcc-source.html#l00051">51</a> of file <a class="el" href="main_8hcc-source.html">main.hcc</a>.
<p>
-References <a class="el" href="audio_8hcc-source.html#l00045">audio_init()</a>, <a class="el" href="audio_8hcc-source.html#l00075">audio_main()</a>, <a class="el" href="display_8hcc-source.html#l00064">display_main()</a>, <a class="el" href="eventhandler_8hcc-source.html#l00063">eventhandler_main()</a>, <a class="el" href="mouse_8hcc-source.html#l00048">mouse_main()</a>, <a class="el" href="smartmedia_8hcc-source.html#l00045">smartmedia_init()</a>, and <a class="el" href="smartmedia_8hcc-source.html#l00071">smartmedia_loaddata()</a>. </td>
+References <a class="el" href="audio_8hcc-source.html#l00045">audio_init()</a>, <a class="el" href="audio_8hcc-source.html#l00076">audio_main()</a>, <a class="el" href="smartmedia_8hch-source.html#l00047">CPLDRun</a>, <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>, <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>, <a class="el" href="audio_8hch-source.html#l00052">LINE_IN</a>, <a class="el" href="mouse_8hcc-source.html#l00048">mouse_main()</a>, <a class="el" href="mouse_8hch-source.html#l00027">MouseRun</a>, <a class="el" href="smartmedia_8hcc-source.html#l00046">smartmedia_init()</a>, <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>, <a class="el" href="smartmedia_8hch-source.html#l00048">SmartMediaRun</a>, and <a class="el" href="audio_8hch-source.html#l00064">SR_44100</a>. </td>
</tr>
</table>
@@ -107,15 +136,15 @@ Here is the call graph for this function:<p><center><img src="main_8hcc_a1_cgrap
<map name="main_8hcc_a1_cgraph_map">
<area href="audio_8hcc.html#a0" shape="rect" coords="145,8,225,34" alt="">
<area href="audio_8hcc.html#a1" shape="rect" coords="140,58,230,85" alt="">
-<area href="display_8hcc.html#a3" shape="rect" coords="134,109,236,136" alt="">
-<area href="eventhandler_8hcc.html#a3" shape="rect" coords="117,160,253,186" alt="">
+<area href="display_8hcc.html#a2" shape="rect" coords="134,109,236,136" alt="">
+<area href="eventhandler_8hcc.html#a2" shape="rect" coords="117,160,253,186" alt="">
<area href="mouse_8hcc.html#a0" shape="rect" coords="136,210,234,237" alt="">
<area href="smartmedia_8hch.html#a9" shape="rect" coords="126,261,244,288" alt="">
<area href="smartmedia_8hcc.html#a1" shape="rect" coords="109,312,261,338" alt="">
-<area href="events_8hcc.html#a2" shape="rect" coords="325,134,416,161" alt="">
-<area href="display_8hcc.html#a4" shape="rect" coords="310,185,430,212" alt="">
+<area href="events_8hcc.html#a3" shape="rect" coords="325,134,416,161" alt="">
+<area href="display_8hcc.html#a3" shape="rect" coords="310,185,430,212" alt="">
</map>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:18 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/main_8hcc__incl.map b/Graphic_Equalizer/doc/html/main_8hcc__incl.map
index f5d400e..93dc814 100644
--- a/Graphic_Equalizer/doc/html/main_8hcc__incl.map
+++ b/Graphic_Equalizer/doc/html/main_8hcc__incl.map
@@ -8,5 +8,5 @@ rect $eventhandler_8hch.html 866,7 991,34
rect $display__shared_8hch.html 1015,7 1151,34
rect $display_8hch.html 1175,7 1263,34
rect $smartmedia_8hch.html 1287,7 1405,34
-rect $fft_8hch-source.html 1429,7 1487,34
-rect $runfft_8hch-source.html 1511,7 1589,34
+rect $fft_8hch.html 1429,7 1487,34
+rect $runfft_8hch.html 1511,7 1589,34
diff --git a/Graphic_Equalizer/doc/html/main_8hcc__incl.md5 b/Graphic_Equalizer/doc/html/main_8hcc__incl.md5
index 4c381f9..180884e 100644
--- a/Graphic_Equalizer/doc/html/main_8hcc__incl.md5
+++ b/Graphic_Equalizer/doc/html/main_8hcc__incl.md5
@@ -1 +1 @@
-a58fdd2d7864a80c84f599fc494e12fb \ No newline at end of file
+1419fd3b33c01dc6aea19227c10014a5 \ No newline at end of file
diff --git a/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.map b/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.map
index 0a561a6..fc498f4 100644
--- a/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.map
+++ b/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.map
@@ -1,10 +1,10 @@
base referer
rect $audio_8hcc.html#a0 145,8 225,34
rect $audio_8hcc.html#a1 140,58 230,85
-rect $display_8hcc.html#a3 134,109 236,136
-rect $eventhandler_8hcc.html#a3 117,160 253,186
+rect $display_8hcc.html#a2 134,109 236,136
+rect $eventhandler_8hcc.html#a2 117,160 253,186
rect $mouse_8hcc.html#a0 136,210 234,237
rect $smartmedia_8hch.html#a9 126,261 244,288
rect $smartmedia_8hcc.html#a1 109,312 261,338
-rect $events_8hcc.html#a2 325,134 416,161
-rect $display_8hcc.html#a4 310,185 430,212
+rect $events_8hcc.html#a3 325,134 416,161
+rect $display_8hcc.html#a3 310,185 430,212
diff --git a/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.md5 b/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.md5
index a1cfce5..095d857 100644
--- a/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.md5
+++ b/Graphic_Equalizer/doc/html/main_8hcc_a1_cgraph.md5
@@ -1 +1 @@
-cb39dc81a189770b36ae70a4f9bee1f4 \ No newline at end of file
+f9b3a03c002f36a20920f8e86e483e1a \ No newline at end of file
diff --git a/Graphic_Equalizer/doc/html/mouse_8hcc-source.html b/Graphic_Equalizer/doc/html/mouse_8hcc-source.html
index 7214416..44eef8d 100644
--- a/Graphic_Equalizer/doc/html/mouse_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/mouse_8hcc-source.html
@@ -1,10 +1,10 @@
<!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/mouse.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/mouse.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>mouse.hcc</h1><a href="mouse_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
@@ -25,7 +25,7 @@
00035 <span class="preprocessor"></span>
00036
00037
-<a name="l00048"></a><a class="code" href="mouse_8hcc.html#a0">00048</a> <span class="keywordtype">void</span> <a class="code" href="mouse_8hcc.html#a0">mouse_main</a>(mousedata_t *mousedata) {
+<a name="l00048"></a><a class="code" href="mouse_8hcc.html#a0">00048</a> <span class="keywordtype">void</span> <a class="code" href="mouse_8hcc.html#a0">mouse_main</a>(<a class="code" href="structmousedata__t.html">mousedata_t</a> *mousedata) {
00049 <span class="keywordtype">unsigned</span> 18 touch_sampler;
00050 <span class="keywordtype">unsigned</span> 10 x, oldx;
00051 <span class="keywordtype">unsigned</span> 9 y, oldy;
@@ -83,15 +83,15 @@
00103 <span class="comment"> * can only do this when the display has handled all</span>
00104 <span class="comment"> * changes.</span>
00105 <span class="comment"> */</span>
-00106 <span class="keywordflow">if</span> (((oldmousestate != mousestate) || (oldx != x) || (oldy != y)) &amp;&amp; (MOUSE_NOT_UPDATED == mousedata-&gt;status)) {
+00106 <span class="keywordflow">if</span> (((oldmousestate != mousestate) || (oldx != x) || (oldy != y)) &amp;&amp; (<a class="code" href="mouse__shared_8hch.html#a1">MOUSE_NOT_UPDATED</a> == mousedata-&gt;<a class="code" href="structmousedata__t.html#o3">status</a>)) {
00107 <span class="comment">//par {</span>
00108 oldx = x;
00109 oldy = y;
00110 oldmousestate = mousestate;
-00111 mousedata-&gt;x = x;
-00112 mousedata-&gt;y = 0 @ y;
-00113 mousedata-&gt;state = mousestate;
-00114 mousedata-&gt;status = MOUSE_UPDATED;
+00111 mousedata-&gt;<a class="code" href="structmousedata__t.html#o0">x</a> = x;
+00112 mousedata-&gt;<a class="code" href="structmousedata__t.html#o1">y</a> = 0 @ y;
+00113 mousedata-&gt;<a class="code" href="structmousedata__t.html#o2">state</a> = mousestate;
+00114 mousedata-&gt;<a class="code" href="structmousedata__t.html#o3">status</a> = MOUSE_UPDATED;
00115 <span class="comment">//}</span>
00116 }
00117 }
@@ -109,7 +109,7 @@
00129 touch_sampler++;
00130 }
00131 } <span class="comment">/* --- mouse_main() --- */</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:10 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/mouse_8hcc.html b/Graphic_Equalizer/doc/html/mouse_8hcc.html
index a82959f..31a1fe0 100644
--- a/Graphic_Equalizer/doc/html/mouse_8hcc.html
+++ b/Graphic_Equalizer/doc/html/mouse_8hcc.html
@@ -1,10 +1,10 @@
<!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/mouse.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/mouse.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>mouse.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
@@ -26,13 +26,13 @@ Include dependency graph for mouse.hcc:<p><center><img src="mouse_8hcc__incl.png
<a href="mouse_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="mouse_8hcc.html#a0">mouse_main</a> (mousedata_t *mousedata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse_8hcc.html#a0">mouse_main</a> (<a class="el" href="structmousedata__t.html">mousedata_t</a> *mousedata)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Main mousedriver. This function never returns! It calls the main mousehandler and returns the States and coordinates into a shared store. <a href="#a0"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
input function itself is however performed by the touchscreen of the RC200.<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -55,7 +55,7 @@ Definition in file <a class="el" href="mouse_8hcc-source.html">mouse.hcc</a>.<hr
<tr>
<td class="md" nowrap valign="top">void mouse_main </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">mousedata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structmousedata__t.html">mousedata_t</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>mousedata</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
@@ -89,10 +89,12 @@ Main mousedriver. This function never returns! It calls the main mousehandler an
<p>
Definition at line <a class="el" href="mouse_8hcc-source.html#l00048">48</a> of file <a class="el" href="mouse_8hcc-source.html">mouse.hcc</a>.
<p>
+References <a class="el" href="mouse__shared_8hch-source.html#l00038">MOUSE_NOT_UPDATED</a>, <a class="el" href="mouse__shared_8hch-source.html#l00029">mousedata_t::state</a>, <a class="el" href="mouse__shared_8hch-source.html#l00030">mousedata_t::status</a>, <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::x</a>, and <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::y</a>.
+<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:18 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/mouse_8hch-source.html b/Graphic_Equalizer/doc/html/mouse_8hch-source.html
index eb544bd..1bc95c5 100644
--- a/Graphic_Equalizer/doc/html/mouse_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/mouse_8hch-source.html
@@ -1,22 +1,22 @@
<!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/include/mouse.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/mouse.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>mouse.hch</h1><a href="mouse_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _MOUSEDRIVER_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _MOUSEDRIVER_HCH 1</span>
+<a name="l00020"></a><a class="code" href="mouse_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _MOUSEDRIVER_HCH 1</span>
00021 <span class="preprocessor"></span>
00022
00023
00024 <span class="comment">/*</span>
00025 <span class="comment"> * Create a define to keep API generic</span>
00026 <span class="comment"> */</span>
-00027 <span class="preprocessor">#define MouseRun(ClockRate) RC200TouchScreenRun(ClockRate)</span>
+<a name="l00027"></a><a class="code" href="mouse_8hch.html#a1">00027</a> <span class="preprocessor">#define MouseRun(ClockRate) RC200TouchScreenRun(ClockRate)</span>
00028 <span class="preprocessor"></span>
00029
00030
@@ -25,13 +25,13 @@
00033 <span class="comment"> * updates the shared memory and notifies listeners. It requires a pointer to</span>
00034 <span class="comment"> * a mousedata_t struct to store mouse information.</span>
00035 <span class="comment"> */</span>
-00036 <span class="keywordtype">void</span> <a class="code" href="mouse_8hcc.html#a0">mouse_main</a>(mousedata_t *mousedata);
+00036 <span class="keywordtype">void</span> <a class="code" href="mouse_8hcc.html#a0">mouse_main</a>(<a class="code" href="structmousedata__t.html">mousedata_t</a> *mousedata);
00037
00038 <span class="preprocessor">#else</span>
00039 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file mousedriver.hch multiple times included"</span>
00040 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _MOUSEDRIVER_HCH --- */</span>
00041
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/mouse_8hch.html b/Graphic_Equalizer/doc/html/mouse_8hch.html
index b13c0b3..8258b3d 100644
--- a/Graphic_Equalizer/doc/html/mouse_8hch.html
+++ b/Graphic_Equalizer/doc/html/mouse_8hch.html
@@ -1,10 +1,10 @@
<!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/include/mouse.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/mouse.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>mouse.hch File Reference</h1>
@@ -18,14 +18,19 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="mouse_8hch-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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse_8hch.html#a0">_MOUSEDRIVER_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse_8hch.html#a1">MouseRun</a>(ClockRate)&nbsp;&nbsp;&nbsp;RC200TouchScreenRun(ClockRate)</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="mouse_8hch.html#a2">mouse_main</a> (mousedata_t *mousedata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse_8hch.html#a2">mouse_main</a> (<a class="el" href="structmousedata__t.html">mousedata_t</a> *mousedata)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Main mousedriver. This function never returns! It calls the main mousehandler and returns the States and coordinates into a shared store. <a href="#a2"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -39,7 +44,65 @@ Change history</a></h2>
20041011: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="mouse_8hch-source.html">mouse.hch</a>.<hr><h2>Function Documentation</h2>
+Definition in file <a class="el" href="mouse_8hch-source.html">mouse.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="mouse.hch::_MOUSEDRIVER_HCH"></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">#define _MOUSEDRIVER_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse_8hch-source.html#l00020">20</a> of file <a class="el" href="mouse_8hch-source.html">mouse.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="mouse.hch::MouseRun"></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">#define MouseRun </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">ClockRate&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap>&nbsp;&nbsp;&nbsp;RC200TouchScreenRun(ClockRate)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse_8hch-source.html#l00027">27</a> of file <a class="el" href="mouse_8hch-source.html">mouse.hch</a>.
+<p>
+Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
<a class="anchor" name="a2" doxytag="mouse.hch::mouse_main"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -48,7 +111,7 @@ Definition in file <a class="el" href="mouse_8hch-source.html">mouse.hch</a>.<hr
<tr>
<td class="md" nowrap valign="top">void mouse_main </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">mousedata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structmousedata__t.html">mousedata_t</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>mousedata</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
@@ -82,10 +145,12 @@ Main mousedriver. This function never returns! It calls the main mousehandler an
<p>
Definition at line <a class="el" href="mouse_8hcc-source.html#l00048">48</a> of file <a class="el" href="mouse_8hcc-source.html">mouse.hcc</a>.
<p>
+References <a class="el" href="mouse__shared_8hch-source.html#l00038">MOUSE_NOT_UPDATED</a>, <a class="el" href="mouse__shared_8hch-source.html#l00029">mousedata_t::state</a>, <a class="el" href="mouse__shared_8hch-source.html#l00030">mousedata_t::status</a>, <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::x</a>, and <a class="el" href="mouse__shared_8hch-source.html#l00028">mousedata_t::y</a>.
+<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:13 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/mouse__shared_8hch-source.html b/Graphic_Equalizer/doc/html/mouse__shared_8hch-source.html
index 352880e..bf2366e 100644
--- a/Graphic_Equalizer/doc/html/mouse__shared_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/mouse__shared_8hch-source.html
@@ -1,44 +1,44 @@
<!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/include/mouse_shared.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/mouse_shared.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>mouse_shared.hch</h1><a href="mouse__shared_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _MOUSEDRIVER_SHARED_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _MOUSEDRIVER_SHARED_HCH 1</span>
+<a name="l00020"></a><a class="code" href="mouse__shared_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _MOUSEDRIVER_SHARED_HCH 1</span>
00021 <span class="preprocessor"></span>
00022 <span class="comment">/*** Data Types **********************/</span>
00023
00024 <span class="comment">/*</span>
00025 <span class="comment"> * Type definition of the shared memory to be used in various processes</span>
00026 <span class="comment"> */</span>
-00027 <span class="keyword">typedef</span> <span class="keyword">struct </span>{
-00028 <span class="keywordtype">unsigned</span> 10 x, y;
-00029 <span class="keywordtype">unsigned</span> 3 state;
-00030 <span class="keywordtype">unsigned</span> 1 status;
-00031 } mousedata_t;
+<a name="l00027"></a><a class="code" href="structmousedata__t.html">00027</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
+<a name="l00028"></a><a class="code" href="structmousedata__t.html#o1">00028</a> <span class="keywordtype">unsigned</span> 10 x, y;
+<a name="l00029"></a><a class="code" href="structmousedata__t.html#o2">00029</a> <span class="keywordtype">unsigned</span> 3 state;
+<a name="l00030"></a><a class="code" href="structmousedata__t.html#o3">00030</a> <span class="keywordtype">unsigned</span> 1 status;
+00031 } <a class="code" href="structmousedata__t.html">mousedata_t</a>;
00032
00033
00034
00035 <span class="comment">/*</span>
00036 <span class="comment"> * States used to identify wether mouse data is updated</span>
00037 <span class="comment"> */</span>
-00038 <span class="preprocessor">#define MOUSE_NOT_UPDATED 0</span>
-00039 <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_UPDATED 1</span>
+<a name="l00038"></a><a class="code" href="mouse__shared_8hch.html#a1">00038</a> <span class="preprocessor">#define MOUSE_NOT_UPDATED 0</span>
+<a name="l00039"></a><a class="code" href="mouse__shared_8hch.html#a2">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_UPDATED 1</span>
00040 <span class="preprocessor"></span>
00041
00042
00043 <span class="comment">/*</span>
00044 <span class="comment"> * Set of Mouse States defines</span>
00045 <span class="comment"> */</span>
-00046 <span class="preprocessor">#define MOUSE_STATE_UP 0</span>
-00047 <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_STATE_ON_PRESS 1</span>
-00048 <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_STATE_DOWN 2</span>
-00049 <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_STATE_ON_RELEASE 3</span>
+<a name="l00046"></a><a class="code" href="mouse__shared_8hch.html#a3">00046</a> <span class="preprocessor">#define MOUSE_STATE_UP 0</span>
+<a name="l00047"></a><a class="code" href="mouse__shared_8hch.html#a4">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_STATE_ON_PRESS 1</span>
+<a name="l00048"></a><a class="code" href="mouse__shared_8hch.html#a5">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_STATE_DOWN 2</span>
+<a name="l00049"></a><a class="code" href="mouse__shared_8hch.html#a6">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define MOUSE_STATE_ON_RELEASE 3</span>
00050 <span class="preprocessor"></span>
00051
00052
@@ -46,7 +46,7 @@
00054 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file mousedriver_shared.hch multiple times included"</span>
00055 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _MOUSEDRIVER_SHARED_HCH --- */</span>
00056
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/mouse__shared_8hch.html b/Graphic_Equalizer/doc/html/mouse__shared_8hch.html
index 89f79c9..059b1e0 100644
--- a/Graphic_Equalizer/doc/html/mouse__shared_8hch.html
+++ b/Graphic_Equalizer/doc/html/mouse__shared_8hch.html
@@ -1,10 +1,10 @@
<!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/include/mouse_shared.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/mouse_shared.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>mouse_shared.hch File Reference</h1>
@@ -21,10 +21,28 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="mouse__shared_8hch-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>Data Structures</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmousedata__t.html">mousedata_t</a></td></tr>
+
+<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html#a0">_MOUSEDRIVER_SHARED_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html#a1">MOUSE_NOT_UPDATED</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html#a2">MOUSE_UPDATED</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html#a3">MOUSE_STATE_UP</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html#a4">MOUSE_STATE_ON_PRESS</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html#a5">MOUSE_STATE_DOWN</a>&nbsp;&nbsp;&nbsp;2</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mouse__shared_8hch.html#a6">MOUSE_STATE_ON_RELEASE</a>&nbsp;&nbsp;&nbsp;3</td></tr>
+
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -38,7 +56,191 @@ Change history</a></h2>
20041011: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>.<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+Definition in file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="mouse_shared.hch::_MOUSEDRIVER_SHARED_HCH"></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">#define _MOUSEDRIVER_SHARED_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse__shared_8hch-source.html#l00020">20</a> of file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="mouse_shared.hch::MOUSE_NOT_UPDATED"></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">#define MOUSE_NOT_UPDATED&nbsp;&nbsp;&nbsp;0 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse__shared_8hch-source.html#l00038">38</a> of file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="mouse_8hcc-source.html#l00048">mouse_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="mouse_shared.hch::MOUSE_UPDATED"></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">#define MOUSE_UPDATED&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse__shared_8hch-source.html#l00039">39</a> of file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="display_8hcc-source.html#l00065">display_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="mouse_shared.hch::MOUSE_STATE_UP"></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">#define MOUSE_STATE_UP&nbsp;&nbsp;&nbsp;0 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse__shared_8hch-source.html#l00046">46</a> of file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="mouse_shared.hch::MOUSE_STATE_ON_PRESS"></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">#define MOUSE_STATE_ON_PRESS&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse__shared_8hch-source.html#l00047">47</a> of file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a5" doxytag="mouse_shared.hch::MOUSE_STATE_DOWN"></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">#define MOUSE_STATE_DOWN&nbsp;&nbsp;&nbsp;2 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse__shared_8hch-source.html#l00048">48</a> of file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>.
+<p>
+Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a6" doxytag="mouse_shared.hch::MOUSE_STATE_ON_RELEASE"></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">#define MOUSE_STATE_ON_RELEASE&nbsp;&nbsp;&nbsp;3 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mouse__shared_8hch-source.html#l00049">49</a> of file <a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>. </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:13 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/runfft_8hcc-source.html b/Graphic_Equalizer/doc/html/runfft_8hcc-source.html
index 554df35..f4cdd14 100644
--- a/Graphic_Equalizer/doc/html/runfft_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/runfft_8hcc-source.html
@@ -1,10 +1,10 @@
<!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/runfft.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/runfft.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>runfft.hcc</h1><a href="runfft_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
@@ -14,152 +14,154 @@
00023 <span class="preprocessor">#include "<a class="code" href="configuration_8hch.html">configuration.hch</a>"</span>
00024 <span class="preprocessor">#if USE_RUNFFT</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="audio_8hch.html">audio.hch</a>"</span>
-00026 <span class="preprocessor">#include "fft.hch"</span>
+00026 <span class="preprocessor">#include "<a class="code" href="fft_8hch.html">fft.hch</a>"</span>
00027
-00028 <span class="preprocessor">#include "debug.hch"</span>
-00029
-00030 <span class="comment">/*</span>
-00031 <span class="comment"> * Forward declarations</span>
-00032 <span class="comment"> */</span>
-00033 <span class="keyword">static</span> macro expr ClockRate = PAL_ACTUAL_CLOCK_RATE;
-00034 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00035 <span class="preprocessor"></span><span class="comment">//input buffer</span>
-00036 ram <span class="keywordtype">signed</span> 18 audio_buffer_in[256] with { block = <span class="stringliteral">"BlockRAM"</span>};
-00037 <span class="comment">//output buffer</span>
-00038 ram <span class="keywordtype">signed</span> 18 audio_buffer_out[128] with { block = <span class="stringliteral">"BlockRAM"</span>};
-00039 <span class="preprocessor">#else</span>
-00040 <span class="preprocessor"></span><span class="comment">//input buffer</span>
-00041 ram <span class="keywordtype">signed</span> 16 audio_buffer_in[256] with { block = <span class="stringliteral">"BlockRAM"</span>};
-00042 <span class="comment">//output buffer</span>
-00043 ram <span class="keywordtype">signed</span> 16 audio_buffer_out[128] with { block = <span class="stringliteral">"BlockRAM"</span>};
-00044 <span class="preprocessor">#endif</span>
-00045 <span class="preprocessor"></span><span class="comment">//EQ settings for the FFT</span>
-00046 ram <span class="keywordtype">unsigned</span> 4 EQ_info[128] with { block = <span class="stringliteral">"BlockRAM"</span>};
-00047 <span class="comment">//EQ settings received from the display</span>
-00048
-00049
-00050 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
-00051 <span class="preprocessor"></span><span class="keywordtype">signed</span> 18 *audioptr_in1,*audioptr_in2,*audioptr_in3,*audioptr_in4;
-00052
-00053 <span class="keywordtype">signed</span> 18 *audioptr_out1,*audioptr_out2;
+00028 <span class="preprocessor">#if HAVE_DEBUG</span>
+00029 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span>
+00030 <span class="preprocessor">#endif</span>
+00031 <span class="preprocessor"></span>
+00032 <span class="comment">/*</span>
+00033 <span class="comment"> * Forward declarations</span>
+00034 <span class="comment"> */</span>
+00035 <span class="keyword">static</span> macro expr ClockRate = PAL_ACTUAL_CLOCK_RATE;
+00036 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00037 <span class="preprocessor"></span><span class="comment">//input buffer</span>
+00038 ram <span class="keywordtype">signed</span> 18 audio_buffer_in[256] with { block = <span class="stringliteral">"BlockRAM"</span>};
+00039 <span class="comment">//output buffer</span>
+00040 ram <span class="keywordtype">signed</span> 18 audio_buffer_out[128] with { block = <span class="stringliteral">"BlockRAM"</span>};
+00041 <span class="preprocessor">#else</span>
+00042 <span class="preprocessor"></span><span class="comment">//input buffer</span>
+00043 ram <span class="keywordtype">signed</span> 16 audio_buffer_in[256] with { block = <span class="stringliteral">"BlockRAM"</span>};
+00044 <span class="comment">//output buffer</span>
+00045 ram <span class="keywordtype">signed</span> 16 audio_buffer_out[128] with { block = <span class="stringliteral">"BlockRAM"</span>};
+00046 <span class="preprocessor">#endif</span>
+00047 <span class="preprocessor"></span><span class="comment">//EQ settings for the FFT</span>
+00048 ram <span class="keywordtype">unsigned</span> 4 EQ_info[128] with { block = <span class="stringliteral">"BlockRAM"</span>};
+00049 <span class="comment">//EQ settings received from the display</span>
+00050
+00051
+00052 <span class="preprocessor">#if HARDWARE_MULTIPLY</span>
+00053 <span class="preprocessor"></span><span class="keywordtype">signed</span> 18 *audioptr_in1,*audioptr_in2,*audioptr_in3,*audioptr_in4;
00054
-00055 <span class="keywordtype">unsigned</span> 6 *displayptr1,*displayptr2,*displayptr3,*displayptr4;
-00056 <span class="preprocessor">#else</span>
-00057 <span class="preprocessor"></span><span class="keywordtype">signed</span> 16 *audioptr_in1,*audioptr_in2,*audioptr_in3,*audioptr_in4;
-00058
-00059 <span class="keywordtype">signed</span> 16 *audioptr_out1,*audioptr_out2;
+00055 <span class="keywordtype">signed</span> 18 *audioptr_out1,*audioptr_out2;
+00056
+00057 <span class="keywordtype">unsigned</span> 6 *displayptr1,*displayptr2,*displayptr3,*displayptr4;
+00058 <span class="preprocessor">#else</span>
+00059 <span class="preprocessor"></span><span class="keywordtype">signed</span> 16 *audioptr_in1,*audioptr_in2,*audioptr_in3,*audioptr_in4;
00060
-00061 <span class="keywordtype">unsigned</span> 6 *displayptr1,*displayptr2,*displayptr3,*displayptr4;
-00062 <span class="preprocessor">#endif</span>
-00063 <span class="preprocessor"></span>
-00074 macro proc <a class="code" href="audio_8hcc.html#a1">audio_main</a>(audiodata, AUDIOIN, AUDIOOUT)
-00075 {
-00076 <span class="keywordtype">signed</span> 18 sample;
-00077 <span class="keywordtype">unsigned</span> 6 sample_count;
-00078 <span class="keywordtype">unsigned</span> 8 i,cycle;
-00079 <span class="keywordtype">unsigned</span> 4 eqinfo;
-00080
-00081 <span class="keywordtype">unsigned</span> 1 FFT_Sync, first;
-00082 macro expr OW = PalAudioOutGetMaxDataWidthCT ();
-00083 macro expr IW = PalAudioInGetMaxDataWidthCT ();
-00084 <span class="keywordtype">signed</span> LeftNew, RightNew;
-00085 <span class="keywordtype">signed</span> Output_sample;
-00086
-00087 ram <span class="keywordtype">unsigned</span> 6 input[64];
+00061 <span class="keywordtype">signed</span> 16 *audioptr_out1,*audioptr_out2;
+00062
+00063 <span class="keywordtype">unsigned</span> 6 *displayptr1,*displayptr2,*displayptr3,*displayptr4;
+00064 <span class="preprocessor">#endif</span>
+00065 <span class="preprocessor"></span>
+00076 macro proc <a class="code" href="audio_8hcc.html#a1">audio_main</a>(audiodata, AUDIOIN, AUDIOOUT)
+00077 {
+00078 <span class="keywordtype">signed</span> 18 sample;
+00079 <span class="keywordtype">unsigned</span> 6 sample_count;
+00080 <span class="keywordtype">unsigned</span> 8 i,cycle;
+00081 <span class="keywordtype">unsigned</span> 4 eqinfo;
+00082
+00083 <span class="keywordtype">unsigned</span> 1 FFT_Sync, first;
+00084 macro expr OW = PalAudioOutGetMaxDataWidthCT ();
+00085 macro expr IW = PalAudioInGetMaxDataWidthCT ();
+00086 <span class="keywordtype">signed</span> LeftNew, RightNew;
+00087 <span class="keywordtype">signed</span> Output_sample;
00088
-00089 <span class="comment">//pointers for double and quadruple buffering:</span>
-00090 audioptr_in1 = &amp;audio_buffer_in[0];
-00091 audioptr_in2 = &amp;audio_buffer_in[64];
-00092 audioptr_in3 = &amp;audio_buffer_in[128];
-00093 audioptr_in4 = &amp;audio_buffer_in[192];
-00094
-00095 audioptr_out1 = &amp;audio_buffer_out[0];
-00096 audioptr_out2 = &amp;audio_buffer_out[64];
-00097
-00098 displayptr1 = &amp;audiodata.ifft_info.write[0];
-00099 displayptr2 = &amp;audiodata.ifft_info.write[64];
-00100 displayptr3 = &amp;audiodata.ifft_info.write[128];
-00101 displayptr4 = &amp;audiodata.ifft_info.write[192];
-00102
-00103 FFT_Sync=0;
-00104 par
-00105 {
-00106 <span class="keywordflow">for</span>(;;)
-00107 {
-00108 <span class="keywordflow">if</span> (FFT_Sync) <span class="comment">//if 64 samples are read from ADC...</span>
-00109 {
-00110 par
-00111 {
-00112 <span class="comment">// switch pointers </span>
-00113 audioptr_in1 = audioptr_in2;
-00114 audioptr_in2 = audioptr_in3;
-00115 audioptr_in3 = audioptr_in4;
-00116 audioptr_in4 = audioptr_in1;
-00117
-00118 audioptr_out1 = audioptr_out2;
-00119 audioptr_out2 = audioptr_out1;
-00120
-00121 displayptr1=displayptr2;
-00122 displayptr2=displayptr3;
-00123 displayptr3=displayptr4;
-00124 displayptr4=displayptr1;
-00125
-00126 FFT_Sync = 0;
-00127 }
-00128
-00129 <span class="comment">// FFT calculation</span>
-00130 perform_fft(audioptr_in1);
-00131
-00132 <span class="preprocessor">#if PERFORM_FFT_CALCULATION</span>
-00133 <span class="preprocessor"></span> <a class="code" href="fft_8hcc.html#a5">equalize_audio</a>(&amp;audiodata);
-00134 <span class="preprocessor">#endif</span>
-00135 <span class="preprocessor"></span> <span class="comment">// inverse FFT calculation</span>
-00136 perform_ifft(audioptr_out1,displayptr1);
-00137 }
-00138 <span class="keywordflow">else</span>
-00139 delay;
-00140 }
-00141
-00142 <span class="keywordflow">for</span>(sample_count=0;;)<span class="comment">//store the samples in the inputbuffer</span>
-00143 {
-00144 <span class="keywordflow">if</span> (!FFT_Sync)
-00145 {
-00146 par
-00147 {
-00148 seq
-00149 {
-00150 PalAudioInRead(AUDIOIN, &amp;LeftNew, &amp;RightNew);
-00151 <span class="preprocessor">#if HARDWARE_MULTIPLY </span>
-00152 <span class="preprocessor"></span> audioptr_in1[sample_count] = LeftNew;<span class="comment">//drop 2 LSB's</span>
-00153 <span class="preprocessor">#else</span>
-00154 <span class="preprocessor"></span> audioptr_in1[sample_count] = (LeftNew\\2);<span class="comment">//drop 2 LSB's</span>
-00155 <span class="preprocessor">#endif</span>
-00156 <span class="preprocessor"></span> sample_count++;
-00157 <span class="keywordflow">if</span> (!sample_count)
-00158 {
-00159 FFT_Sync = 1;
-00160 }
-00161 }
-00162 seq
-00163 {
-00164 Output_sample = audioptr_out2[sample_count];
-00165 }
-00166 }
-00167 }
-00168 <span class="keywordflow">else</span>
-00169 {
-00170 delay;
-00171 }
-00172 }
-00173 <span class="keywordflow">for</span>(;;)
-00174 {
-00175 PalAudioOutWrite(AUDIOOUT,(<span class="keywordtype">signed</span> OW)(Output_sample @ 0),(<span class="keywordtype">signed</span> OW)(Output_sample @ 0));
-00176 }
-00177 }<span class="comment">//end par</span>
-00178 }<span class="comment">// end function</span>
-00179 <span class="preprocessor">#endif</span>
-00180 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+00089 ram <span class="keywordtype">unsigned</span> 6 input[64];
+00090
+00091 <span class="comment">//pointers for double and quadruple buffering:</span>
+00092 audioptr_in1 = &amp;audio_buffer_in[0];
+00093 audioptr_in2 = &amp;audio_buffer_in[64];
+00094 audioptr_in3 = &amp;audio_buffer_in[128];
+00095 audioptr_in4 = &amp;audio_buffer_in[192];
+00096
+00097 audioptr_out1 = &amp;audio_buffer_out[0];
+00098 audioptr_out2 = &amp;audio_buffer_out[64];
+00099
+00100 displayptr1 = &amp;audiodata.ifft_info.write[0];
+00101 displayptr2 = &amp;audiodata.ifft_info.write[64];
+00102 displayptr3 = &amp;audiodata.ifft_info.write[128];
+00103 displayptr4 = &amp;audiodata.ifft_info.write[192];
+00104
+00105 FFT_Sync=0;
+00106 par
+00107 {
+00108 <span class="keywordflow">for</span>(;;)
+00109 {
+00110 <span class="keywordflow">if</span> (FFT_Sync) <span class="comment">//if 64 samples are read from ADC...</span>
+00111 {
+00112 par
+00113 {
+00114 <span class="comment">// switch pointers </span>
+00115 audioptr_in1 = audioptr_in2;
+00116 audioptr_in2 = audioptr_in3;
+00117 audioptr_in3 = audioptr_in4;
+00118 audioptr_in4 = audioptr_in1;
+00119
+00120 audioptr_out1 = audioptr_out2;
+00121 audioptr_out2 = audioptr_out1;
+00122
+00123 displayptr1=displayptr2;
+00124 displayptr2=displayptr3;
+00125 displayptr3=displayptr4;
+00126 displayptr4=displayptr1;
+00127
+00128 FFT_Sync = 0;
+00129 }
+00130
+00131 <span class="comment">// FFT calculation</span>
+00132 <a class="code" href="fft_8hcc.html#a4">perform_fft</a>(audioptr_in1);
+00133
+00134 <span class="preprocessor">#if PERFORM_FFT_CALCULATION</span>
+00135 <span class="preprocessor"></span> <a class="code" href="fft_8hcc.html#a6">equalize_audio</a>(&amp;audiodata);
+00136 <span class="preprocessor">#endif</span>
+00137 <span class="preprocessor"></span> <span class="comment">// inverse FFT calculation</span>
+00138 <a class="code" href="fft_8hcc.html#a5">perform_ifft</a>(audioptr_out1,displayptr1);
+00139 }
+00140 <span class="keywordflow">else</span>
+00141 delay;
+00142 }
+00143
+00144 <span class="keywordflow">for</span>(sample_count=0;;)<span class="comment">//store the samples in the inputbuffer</span>
+00145 {
+00146 <span class="keywordflow">if</span> (!FFT_Sync)
+00147 {
+00148 par
+00149 {
+00150 seq
+00151 {
+00152 PalAudioInRead(AUDIOIN, &amp;LeftNew, &amp;RightNew);
+00153 <span class="preprocessor">#if HARDWARE_MULTIPLY </span>
+00154 <span class="preprocessor"></span> audioptr_in1[sample_count] = LeftNew;<span class="comment">//drop 2 LSB's</span>
+00155 <span class="preprocessor">#else</span>
+00156 <span class="preprocessor"></span> audioptr_in1[sample_count] = (LeftNew\\2);<span class="comment">//drop 2 LSB's</span>
+00157 <span class="preprocessor">#endif</span>
+00158 <span class="preprocessor"></span> sample_count++;
+00159 <span class="keywordflow">if</span> (!sample_count)
+00160 {
+00161 FFT_Sync = 1;
+00162 }
+00163 }
+00164 seq
+00165 {
+00166 Output_sample = audioptr_out2[sample_count];
+00167 }
+00168 }
+00169 }
+00170 <span class="keywordflow">else</span>
+00171 {
+00172 delay;
+00173 }
+00174 }
+00175 <span class="keywordflow">for</span>(;;)
+00176 {
+00177 PalAudioOutWrite(AUDIOOUT,(<span class="keywordtype">signed</span> OW)(Output_sample @ 0),(<span class="keywordtype">signed</span> OW)(Output_sample @ 0));
+00178 }
+00179 }<span class="comment">//end par</span>
+00180 }<span class="comment">// end function</span>
+00181 <span class="preprocessor">#endif</span>
+00182 <span class="preprocessor"></span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:10 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/runfft_8hcc.html b/Graphic_Equalizer/doc/html/runfft_8hcc.html
index d7cbaa9..e7a5270 100644
--- a/Graphic_Equalizer/doc/html/runfft_8hcc.html
+++ b/Graphic_Equalizer/doc/html/runfft_8hcc.html
@@ -1,10 +1,10 @@
<!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/runfft.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/runfft.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>runfft.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
@@ -23,7 +23,7 @@ Include dependency graph for runfft.hcc:<p><center><img src="runfft_8hcc__incl.p
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
audiosamples are correctly buffered and fed correctly to the FFT.<br>
This module will also handle the output of the modified audio samples.<h2><a class="anchor" name="project">
Project information.</a></h2>
@@ -38,7 +38,7 @@ Change history</a></h2>
20041110: M. Lauwerijssen<br>
Initial version
<p>
-Definition in file <a class="el" href="runfft_8hcc-source.html">runfft.hcc</a>.<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+Definition in file <a class="el" href="runfft_8hcc-source.html">runfft.hcc</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:18 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/runfft_8hch-source.html b/Graphic_Equalizer/doc/html/runfft_8hch-source.html
index 020361d..80954ed 100644
--- a/Graphic_Equalizer/doc/html/runfft_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/runfft_8hch-source.html
@@ -1,14 +1,14 @@
<!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/include/runfft.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/runfft.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
-<h1>runfft.hch</h1><div class="fragment"><pre class="fragment">00001 <span class="keyword">extern</span> macro proc RunFFT (AudioIn, AudioOut);
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+<h1>runfft.hch</h1><a href="runfft_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="keyword">extern</span> macro proc <a class="code" href="runfft_8hch.html#a0">RunFFT</a> (AudioIn, AudioOut);
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/smartmedia_8hcc-source.html b/Graphic_Equalizer/doc/html/smartmedia_8hcc-source.html
index 89fcb1d..ebbbddb 100644
--- a/Graphic_Equalizer/doc/html/smartmedia_8hcc-source.html
+++ b/Graphic_Equalizer/doc/html/smartmedia_8hcc-source.html
@@ -1,10 +1,10 @@
<!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/smartmedia.hcc Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/smartmedia.hcc Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>smartmedia.hcc</h1><a href="smartmedia_8hcc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
@@ -16,151 +16,151 @@
00024 <span class="comment">/******** Application Includes ********/</span>
00025 <span class="preprocessor">#include "<a class="code" href="configuration_8hch.html">configuration.hch</a>"</span>
00026 <span class="preprocessor">#include "<a class="code" href="display__shared_8hch.html">display_shared.hch</a>"</span>
-00027 <span class="preprocessor">#include "<a class="code" href="smartmedia_8hch.html">smartmedia.hch</a>"</span>
-00028
-00029 <span class="preprocessor">#if HAVE_DEBUG</span>
-00030 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span>
-00031 <span class="preprocessor">#endif</span>
-00032 <span class="preprocessor"></span>
-00033 <span class="preprocessor">#include "<a class="code" href="audio_8hch.html">audio.hch</a>"</span>
-00034 <span class="preprocessor">#include "<a class="code" href="mouse__shared_8hch.html">mouse_shared.hch</a>"</span>
-00035 <span class="preprocessor">#include "<a class="code" href="eventhandler__shared_8hch.html">eventhandler_shared.hch</a>"</span>
-00036 <span class="preprocessor">#include "<a class="code" href="display_8hch.html">display.hch</a>"</span> <span class="comment">/* FIXME: temporary include, needs to be moved to 'init' */</span>
-00037
-<a name="l00045"></a><a class="code" href="smartmedia_8hcc.html#a0">00045</a> <span class="keywordtype">unsigned</span> 1 <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>(<span class="keywordtype">void</span>) {
-00046 <span class="keywordtype">unsigned</span> 1 retval;
-00047 <span class="comment">/*</span>
-00048 <span class="comment"> * Firstly we enable both the CPLD and the SmartMedia.</span>
-00049 <span class="comment"> */</span>
-00050 RC200CPLDEnable();
-00051 RC200SmartMediaInit(&amp;retval);
-00052
-00053 <span class="keywordflow">if</span> (retval) {
-00054 RC200SmartMediaReset(&amp;retval);
-00055 RC200SmartMediaInit(&amp;retval);
-00056 }
-00057
-00058 <span class="keywordflow">return</span> retval;
-00059 } <span class="comment">/* --- smartmedia_init() --- */</span>
-00060
+00027 <span class="preprocessor">#include "<a class="code" href="smartmedia__shared_8hch.html">smartmedia_shared.hch</a>"</span>
+00028 <span class="preprocessor">#include "<a class="code" href="smartmedia_8hch.html">smartmedia.hch</a>"</span>
+00029
+00030 <span class="preprocessor">#if HAVE_DEBUG</span>
+00031 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span>
+00032 <span class="preprocessor">#endif</span>
+00033 <span class="preprocessor"></span>
+00034 <span class="preprocessor">#include "<a class="code" href="audio_8hch.html">audio.hch</a>"</span>
+00035 <span class="preprocessor">#include "<a class="code" href="mouse__shared_8hch.html">mouse_shared.hch</a>"</span>
+00036 <span class="preprocessor">#include "<a class="code" href="eventhandler__shared_8hch.html">eventhandler_shared.hch</a>"</span>
+00037 <span class="preprocessor">#include "<a class="code" href="display_8hch.html">display.hch</a>"</span> <span class="comment">/* FIXME: temporary include, needs to be moved to 'init' */</span>
+00038
+<a name="l00046"></a><a class="code" href="smartmedia_8hcc.html#a0">00046</a> <span class="keywordtype">unsigned</span> 1 <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>(<span class="keywordtype">void</span>) {
+00047 <span class="keywordtype">unsigned</span> 1 retval;
+00048 <span class="comment">/*</span>
+00049 <span class="comment"> * Firstly we enable both the CPLD and the SmartMedia.</span>
+00050 <span class="comment"> */</span>
+00051 RC200CPLDEnable();
+00052 RC200SmartMediaInit(&amp;retval);
+00053
+00054 <span class="keywordflow">if</span> (retval) {
+00055 RC200SmartMediaReset(&amp;retval);
+00056 RC200SmartMediaInit(&amp;retval);
+00057 }
+00058
+00059 <span class="keywordflow">return</span> retval;
+00060 } <span class="comment">/* --- smartmedia_init() --- */</span>
00061
00062
-<a name="l00071"></a><a class="code" href="smartmedia_8hcc.html#a1">00071</a> <span class="keywordtype">void</span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(skindata_t *skindata) {
-00072 <span class="comment">/*</span>
-00073 <span class="comment"> * Setup RAM Handle, and determin maximum Data and Address widths</span>
-00074 <span class="comment"> */</span>
-00075 macro expr RAM_BANK0 = PalPL2RAMCT(0);
-00076 macro expr DW = PalPL2RAMGetMaxDataWidthCT();
-00077 macro expr AW = PalPL2RAMGetMaxAddressWidthCT();
-00078
-00079 <span class="keywordtype">unsigned</span> DW data;
-00080 <span class="keywordtype">unsigned</span> 27 smartmedia_address, smartmedia_address_mask;
-00081 <span class="keywordtype">unsigned</span> AW address;
-00082 <span class="keywordtype">unsigned</span> 8 mask, r, g, b;
-00083 <span class="keywordtype">unsigned</span> 3 stage;
-00084 <span class="keywordtype">unsigned</span> 1 result;
-00085
-00086 <span class="preprocessor">#if HAVE_DEBUG</span>
-00087 <span class="preprocessor"></span> <span class="comment">/*</span>
-00088 <span class="comment"> * Print some nice stats about data loading.</span>
-00089 <span class="comment"> */</span>
-00090 print_eol();
-00091 print_hex_value(0);
-00092 <span class="preprocessor">#endif</span>
-00093 <span class="preprocessor"></span> <span class="comment">/*</span>
-00094 <span class="comment"> * Before we enter our loop to fill our memory with valid data, we have</span>
-00095 <span class="comment"> * to set the startup positions for the SmartMedia.</span>
-00096 <span class="comment"> */</span>
-00097 smartmedia_address = SMARTMEDIA_ADDRESS_SKIN_START;
-00098 smartmedia_address_mask = SMARTMEDIA_ADDRESS_SKINMASK_START;
-00099 stage = STAGE_LOAD_SKIN;
-00100 <span class="comment">/*</span>
-00101 <span class="comment"> * We start with the address of the skin, and do the loop until we have</span>
-00102 <span class="comment"> * done the end of the help.</span>
-00103 <span class="comment"> */</span>
-00104 <span class="keywordflow">for</span> (address = ADDRESS_SKIN_START; address != (ADDRESS_PRESET_RESET_END +1); address++) {
-00105 <span class="comment">/*</span>
-00106 <span class="comment"> * Once we are done with the loading of our skin, we need to</span>
-00107 <span class="comment"> * change the smartmedia start addresses.</span>
-00108 <span class="comment"> */</span>
-00109 <span class="keywordflow">if</span> (ADDRESS_HELP_START == address) {
-00110 smartmedia_address = SMARTMEDIA_ADDRESS_HELP_START;
-00111 smartmedia_address_mask = SMARTMEDIA_ADDRESS_HELPMASK_START;
-00112 stage = STAGE_LOAD_HELP;
-00113 }
-00114 <span class="keywordflow">if</span> (ADDRESS_GRAPHMASK_START == address) {
-00115 smartmedia_address_mask = SMARTMEDIA_ADDRESS_GRAPHMASK_START;
-00116 stage = STAGE_LOAD_GRAPH;
-00117 }
-00118 <span class="keywordflow">if</span> (ADDRESS_PRESET_DEMO_START == address) {
-00119 smartmedia_address_mask = SMARTMEDIA_ADDRESS_PRESET_DEMO_START;
-00120 stage = STAGE_LOAD_PRESET;
-00121 }
-00122
-00123 <span class="comment">/*</span>
-00124 <span class="comment"> * Before reading our data from the smartmedia we set our</span>
-00125 <span class="comment"> * address pointer to the address from our loop.</span>
-00126 <span class="comment"> */</span>
-00127 <span class="preprocessor">#if SKIP_LOAD</span>
-00128 <span class="preprocessor"></span> <span class="keywordflow">if</span> (STAGE_LOAD_PRESET == stage) {
-00129 PalPL2RAMSetWriteAddress(RAM_BANK0, address);
-00130 } <span class="keywordflow">else</span> {
-00131 PalPL2RAMSetWriteAddress(RAM_BANK0, 0);
+00063
+<a name="l00072"></a><a class="code" href="smartmedia_8hcc.html#a1">00072</a> <span class="keywordtype">void</span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(<a class="code" href="structskindata__t.html">skindata_t</a> *skindata) {
+00073 <span class="comment">/*</span>
+00074 <span class="comment"> * Setup RAM Handle, and determin maximum Data and Address widths</span>
+00075 <span class="comment"> */</span>
+00076 macro expr RAM_BANK0 = PalPL2RAMCT(0);
+00077 macro expr DW = PalPL2RAMGetMaxDataWidthCT();
+00078 macro expr AW = PalPL2RAMGetMaxAddressWidthCT();
+00079
+00080 <span class="keywordtype">unsigned</span> DW data;
+00081 <span class="keywordtype">unsigned</span> 27 smartmedia_address, smartmedia_address_mask;
+00082 <span class="keywordtype">unsigned</span> AW address;
+00083 <span class="keywordtype">unsigned</span> 8 mask, r, g, b;
+00084 <span class="keywordtype">unsigned</span> 3 stage;
+00085 <span class="keywordtype">unsigned</span> 1 result;
+00086
+00087 <span class="keyword">extern</span> ram <span class="keywordtype">unsigned</span> 8 <a class="code" href="events_8hcc.html#a0">presets_default_values</a>[768];
+00088
+00089 <span class="preprocessor">#if HAVE_DEBUG</span>
+00090 <span class="preprocessor"></span> <span class="comment">/*</span>
+00091 <span class="comment"> * Print some nice stats about data loading.</span>
+00092 <span class="comment"> */</span>
+00093 print_eol();
+00094 print_hex_value(0);
+00095 <span class="preprocessor">#endif</span>
+00096 <span class="preprocessor"></span> <span class="comment">/*</span>
+00097 <span class="comment"> * Before we enter our loop to fill our memory with valid data, we have</span>
+00098 <span class="comment"> * to set the startup positions for the SmartMedia.</span>
+00099 <span class="comment"> */</span>
+00100 smartmedia_address = SMARTMEDIA_ADDRESS_SKIN_START;
+00101 smartmedia_address_mask = SMARTMEDIA_ADDRESS_SKINMASK_START;
+00102 stage = STAGE_LOAD_SKIN;
+00103 <span class="comment">/*</span>
+00104 <span class="comment"> * We start with the address of the skin, and do the loop until we have</span>
+00105 <span class="comment"> * done the end of the help.</span>
+00106 <span class="comment"> */</span>
+00107 <span class="keywordflow">for</span> (address = ADDRESS_SKIN_START; address != (<a class="code" href="smartmedia__shared_8hch.html#a31">ADDRESS_PRESET_RESET_END</a> +1); address++) {
+00108 <span class="comment">/*</span>
+00109 <span class="comment"> * Once we are done with the loading of our skin, we need to</span>
+00110 <span class="comment"> * change the smartmedia start addresses.</span>
+00111 <span class="comment"> */</span>
+00112 <span class="keywordflow">switch</span> (address) {
+00113 <span class="keywordflow">case</span> <a class="code" href="smartmedia__shared_8hch.html#a24">ADDRESS_HELP_START</a>:
+00114 smartmedia_address = SMARTMEDIA_ADDRESS_HELP_START;
+00115 smartmedia_address_mask = SMARTMEDIA_ADDRESS_HELPMASK_START;
+00116 stage = STAGE_LOAD_HELP;
+00117 <span class="keywordflow">break</span>;
+00118 <span class="keywordflow">case</span> <a class="code" href="smartmedia__shared_8hch.html#a26">ADDRESS_GRAPHMASK_START</a>:
+00119 smartmedia_address_mask = SMARTMEDIA_ADDRESS_GRAPHMASK_START;
+00120 stage = STAGE_LOAD_GRAPH;
+00121 <span class="keywordflow">break</span>;
+00122 <span class="keywordflow">case</span> <a class="code" href="smartmedia__shared_8hch.html#a28">ADDRESS_PRESET_DEMO_START</a>:
+00123 smartmedia_address_mask = SMARTMEDIA_ADDRESS_PRESET_DEMO_START;
+00124 stage = STAGE_LOAD_PRESET;
+00125 <span class="keywordflow">break</span>;
+00126 <span class="keywordflow">case</span> <a class="code" href="smartmedia__shared_8hch.html#a30">ADDRESS_PRESET_RESET_START</a>:
+00127 smartmedia_address_mask = SMARTMEDIA_ADDRESS_PRESET_RESET_START;
+00128 stage = STAGE_LOAD_PRESET;
+00129 <span class="keywordflow">break</span>;
+00130 <span class="keywordflow">default</span>:
+00131 <span class="keywordflow">break</span>;
00132 }
-00133 <span class="preprocessor">#else</span>
-00134 <span class="preprocessor"></span> PalPL2RAMSetWriteAddress(RAM_BANK0, address);
-00135 <span class="preprocessor">#endif</span>
-00136 <span class="preprocessor"></span>
-00137 <span class="comment">/*</span>
-00138 <span class="comment"> * SmartMedia data is read one byte per call. Because we want</span>
-00139 <span class="comment"> * to store the mask + the rgb values in one variable for later</span>
-00140 <span class="comment"> * useage we need to read those 4 bytes from the smartmedia</span>
-00141 <span class="comment"> * before storing it as one.</span>
-00142 <span class="comment"> */</span>
-00143 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
-00144 <span class="preprocessor"></span> <span class="comment">/*</span>
-00145 <span class="comment"> * FIXME: Due to a bug in the DK2 smartmedia libraries we need</span>
-00146 <span class="comment"> * stop reading after each byte with OperationEnd call. This is</span>
-00147 <span class="comment"> * VERY slow and must be changed.</span>
-00148 <span class="comment"> */</span>
-00149 <span class="preprocessor"> #if !USE_MASK_ONLY</span>
-00150 <span class="preprocessor"></span> <span class="keywordflow">if</span> ((STAGE_LOAD_SKIN == stage) || (STAGE_LOAD_HELP == stage)) {
-00151 RC200SmartMediaSetAddress(READ, smartmedia_address);
-00152 RC200SmartMediaRead(&amp;r, TRUE);
-00153 RC200SmartMediaOperationEnd(&amp;result);
-00154 RC200SmartMediaSetAddress(READ, (smartmedia_address +1));
-00155 RC200SmartMediaRead(&amp;g, TRUE);
-00156 RC200SmartMediaOperationEnd(&amp;result);
-00157 RC200SmartMediaSetAddress(READ, (smartmedia_address +2));
-00158 RC200SmartMediaRead(&amp;b, TRUE);
+00133
+00134 <span class="comment">/*</span>
+00135 <span class="comment"> * Before reading our data from the smartmedia we set our</span>
+00136 <span class="comment"> * address pointer to the address from our loop.</span>
+00137 <span class="comment"> */</span>
+00138 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
+00139 <span class="preprocessor"></span> PalPL2RAMSetWriteAddress(RAM_BANK0, address);
+00140 <span class="preprocessor">#else</span>
+00141 <span class="preprocessor"></span> PalPL2RAMSetWriteAddress(RAM_BANK0, 0);
+00142 <span class="preprocessor">#endif</span>
+00143 <span class="preprocessor"></span>
+00144 <span class="comment">/*</span>
+00145 <span class="comment"> * SmartMedia data is read one byte per call. Because we want</span>
+00146 <span class="comment"> * to store the mask + the rgb values in one variable for later</span>
+00147 <span class="comment"> * useage we need to read those 4 bytes from the smartmedia</span>
+00148 <span class="comment"> * before storing it as one.</span>
+00149 <span class="comment"> */</span>
+00150 <span class="preprocessor">#if HAVE_SMARTMEDIA</span>
+00151 <span class="preprocessor"></span> <span class="comment">/*</span>
+00152 <span class="comment"> * FIXME: Due to a bug in the DK2 smartmedia libraries we need</span>
+00153 <span class="comment"> * stop reading after each byte with OperationEnd call. This is</span>
+00154 <span class="comment"> * VERY slow and must be changed.</span>
+00155 <span class="comment"> */</span>
+00156 <span class="keywordflow">if</span> ((<a class="code" href="smartmedia_8hch.html#a3">STAGE_LOAD_SKIN</a> == stage) || (<a class="code" href="smartmedia_8hch.html#a4">STAGE_LOAD_HELP</a> == stage)) {
+00157 RC200SmartMediaSetAddress(<a class="code" href="smartmedia_8hch.html#a1">READ</a>, smartmedia_address);
+00158 RC200SmartMediaRead(&amp;r, TRUE);
00159 RC200SmartMediaOperationEnd(&amp;result);
-00160 }
-00161 <span class="preprocessor"> #endif</span>
-00162 <span class="preprocessor"></span> RC200SmartMediaSetAddress(READ, smartmedia_address_mask);
-00163 RC200SmartMediaRead(&amp;mask, TRUE);
-00164 RC200SmartMediaOperationEnd(&amp;result);
-00165
-00166 <span class="keywordflow">switch</span> (stage) {
-00167 <span class="keywordflow">case</span> STAGE_LOAD_SKIN:
-00168 data = 0 @ mask @ r @ g @ b;
-00169 <span class="keywordflow">break</span>;
-00170 <span class="keywordflow">case</span> STAGE_LOAD_HELP:
-00171 data = 0 @ mask @ r @ g @ b;
-00172 <span class="keywordflow">break</span>;
-00173 <span class="keywordflow">case</span> STAGE_LOAD_GRAPH:
-00174 data = (<span class="keywordtype">unsigned</span> DW)(0 @ mask) &lt;&lt; 24;
-00175 <span class="keywordflow">break</span>;
-00176 <span class="keywordflow">case</span> STAGE_LOAD_PRESET:
-00177 data = 0 @ mask;
-00178 <span class="keywordflow">break</span>;
-00179 }
-00180
-00181 <span class="preprocessor">#else</span>
-00182 <span class="preprocessor"></span> <span class="keywordflow">if</span> (STAGE_LOAD_PRESET == stage) {
-00183 data = (address &lt;- 1) ? 0x000000ff : 0x00000000;
-00184 } <span class="keywordflow">else</span> {
-00185 data = 0x0000ff00;
-00186 }
+00160 RC200SmartMediaSetAddress(<a class="code" href="smartmedia_8hch.html#a1">READ</a>, (smartmedia_address +1));
+00161 RC200SmartMediaRead(&amp;g, TRUE);
+00162 RC200SmartMediaOperationEnd(&amp;result);
+00163 RC200SmartMediaSetAddress(<a class="code" href="smartmedia_8hch.html#a1">READ</a>, (smartmedia_address +2));
+00164 RC200SmartMediaRead(&amp;b, TRUE);
+00165 RC200SmartMediaOperationEnd(&amp;result);
+00166 }
+00167 RC200SmartMediaSetAddress(<a class="code" href="smartmedia_8hch.html#a1">READ</a>, smartmedia_address_mask);
+00168 RC200SmartMediaRead(&amp;mask, TRUE);
+00169 RC200SmartMediaOperationEnd(&amp;result);
+00170
+00171 <span class="keywordflow">switch</span> (stage) {
+00172 <span class="keywordflow">case</span> <a class="code" href="smartmedia_8hch.html#a3">STAGE_LOAD_SKIN</a>:
+00173 data = 0 @ mask @ r @ g @ b;
+00174 <span class="keywordflow">break</span>;
+00175 <span class="keywordflow">case</span> <a class="code" href="smartmedia_8hch.html#a4">STAGE_LOAD_HELP</a>:
+00176 data = 0 @ mask @ r @ g @ b;
+00177 <span class="keywordflow">break</span>;
+00178 <span class="keywordflow">case</span> <a class="code" href="smartmedia_8hch.html#a5">STAGE_LOAD_GRAPH</a>:
+00179 data = (<span class="keywordtype">unsigned</span> DW)(0 @ mask) &lt;&lt; 24;
+00180 <span class="keywordflow">break</span>;
+00181 <span class="keywordflow">case</span> <a class="code" href="smartmedia_8hch.html#a6">STAGE_LOAD_PRESET</a>:
+00182 <a class="code" href="events_8hcc.html#a0">presets_default_values</a>[(address -ADDRESS_PRESET_DEMO_START) &lt;- 10] = mask;
+00183 }
+00184
+00185 <span class="preprocessor">#else</span>
+00186 <span class="preprocessor"></span> data = 0x0000ff00;
00187 <span class="preprocessor">#endif</span>
00188 <span class="preprocessor"></span> <span class="comment">/*</span>
00189 <span class="comment"> * Now that we have gathered all pixel data, store it in ram.</span>
@@ -171,10 +171,10 @@
00194 <span class="preprocessor"></span> <span class="comment">/*</span>
00195 <span class="comment"> * Print some nice stats about data loading.</span>
00196 <span class="comment"> */</span>
-00197 <span class="keywordflow">if</span> (!(address &lt;- 11)) {
+00197 <span class="keywordflow">if</span> (!(address &lt;- 10)) {
00198 print_cr();
-00199 print_hex_value(0 @ (address \\ 12));
-00200 print_string(<span class="stringliteral">" / 000000E1 | data: "</span>);
+00199 print_hex_value(0 @ (address \\ 11));
+00200 print_string(<span class="stringliteral">" / 000001C2 | data: "</span>);
00201 print_hex_value(data &lt;- 32);
00202 }
00203 <span class="preprocessor">#endif</span>
@@ -208,7 +208,7 @@
00231 <span class="comment">// skindata-&gt;color_area_spectrum_bottom = PIXEL_SPECTRUM;</span>
00232 skindata-&gt;color_equalizer = PIXEL_EQUALIZER;
00233 } <span class="comment">/* --- smartmedia_loaddata() --- */</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:48 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:10 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/smartmedia_8hcc.html b/Graphic_Equalizer/doc/html/smartmedia_8hcc.html
index a419c6c..4bae4e5 100644
--- a/Graphic_Equalizer/doc/html/smartmedia_8hcc.html
+++ b/Graphic_Equalizer/doc/html/smartmedia_8hcc.html
@@ -1,16 +1,17 @@
<!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/smartmedia.hcc File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/smartmedia.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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>smartmedia.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
<code>#include "pal_master.hch"</code><br>
<code>#include "<a class="el" href="configuration_8hch-source.html">configuration.hch</a>"</code><br>
<code>#include "<a class="el" href="display__shared_8hch-source.html">display_shared.hch</a>"</code><br>
+<code>#include "<a class="el" href="smartmedia__shared_8hch-source.html">smartmedia_shared.hch</a>"</code><br>
<code>#include "<a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>"</code><br>
<code>#include "<a class="el" href="audio_8hch-source.html">audio.hch</a>"</code><br>
<code>#include "<a class="el" href="mouse__shared_8hch-source.html">mouse_shared.hch</a>"</code><br>
@@ -22,11 +23,12 @@ Include dependency graph for smartmedia.hcc:<p><center><img src="smartmedia_8hcc
<map name="smartmedia.hcc_map">
<area href="configuration_8hch.html" shape="rect" coords="245,7,370,34" alt="">
<area href="display__shared_8hch.html" shape="rect" coords="394,7,530,34" alt="">
-<area href="smartmedia_8hch.html" shape="rect" coords="554,7,671,34" alt="">
-<area href="audio_8hch.html" shape="rect" coords="695,7,775,34" alt="">
-<area href="mouse__shared_8hch.html" shape="rect" coords="799,7,935,34" alt="">
-<area href="eventhandler__shared_8hch.html" shape="rect" coords="959,7,1133,34" alt="">
-<area href="display_8hch.html" shape="rect" coords="1157,7,1245,34" alt="">
+<area href="smartmedia__shared_8hch.html" shape="rect" coords="554,7,720,34" alt="">
+<area href="smartmedia_8hch.html" shape="rect" coords="744,7,861,34" alt="">
+<area href="audio_8hch.html" shape="rect" coords="885,7,965,34" alt="">
+<area href="mouse__shared_8hch.html" shape="rect" coords="989,7,1125,34" alt="">
+<area href="eventhandler__shared_8hch.html" shape="rect" coords="1149,7,1322,34" alt="">
+<area href="display_8hch.html" shape="rect" coords="1346,7,1434,34" alt="">
</map>
<p>
@@ -36,13 +38,13 @@ Include dependency graph for smartmedia.hcc:<p><center><img src="smartmedia_8hcc
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hcc.html#a0">smartmedia_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">We here initialize the Smart Media card and verify wether the card is inserted and such. <a href="#a0"></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="smartmedia_8hcc.html#a1">smartmedia_loaddata</a> (skindata_t *skindata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a> (<a class="el" href="structskindata__t.html">skindata_t</a> *skindata)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">We load our memory with skin and help data from the smartmedia. <a href="#a1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -92,7 +94,7 @@ We here initialize the Smart Media card and verify wether the card is inserted a
</dl>
<p>
-Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00045">45</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
+Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00046">46</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
@@ -105,7 +107,7 @@ Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. <
<tr>
<td class="md" nowrap valign="top">void smartmedia_loaddata </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">skindata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structskindata__t.html">skindata_t</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>skindata</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
@@ -137,12 +139,14 @@ We load our memory with skin and help data from the smartmedia.
</dl>
<p>
-Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00071">71</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
+Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00072">72</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
+<p>
+References <a class="el" href="smartmedia__shared_8hch-source.html#l00066">ADDRESS_GRAPHMASK_START</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00063">ADDRESS_HELP_START</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00069">ADDRESS_PRESET_DEMO_START</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00073">ADDRESS_PRESET_RESET_END</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00072">ADDRESS_PRESET_RESET_START</a>, <a class="el" href="events_8hcc-source.html#l00037">presets_default_values</a>, <a class="el" href="smartmedia_8hch-source.html#l00028">READ</a>, <a class="el" href="smartmedia_8hch-source.html#l00038">STAGE_LOAD_GRAPH</a>, <a class="el" href="smartmedia_8hch-source.html#l00037">STAGE_LOAD_HELP</a>, <a class="el" href="smartmedia_8hch-source.html#l00039">STAGE_LOAD_PRESET</a>, and <a class="el" href="smartmedia_8hch-source.html#l00036">STAGE_LOAD_SKIN</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:50 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:19 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.map b/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.map
index 772c577..f1c196f 100644
--- a/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.map
+++ b/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.map
@@ -1,8 +1,9 @@
base referer
rect $configuration_8hch.html 245,7 370,34
rect $display__shared_8hch.html 394,7 530,34
-rect $smartmedia_8hch.html 554,7 671,34
-rect $audio_8hch.html 695,7 775,34
-rect $mouse__shared_8hch.html 799,7 935,34
-rect $eventhandler__shared_8hch.html 959,7 1133,34
-rect $display_8hch.html 1157,7 1245,34
+rect $smartmedia__shared_8hch.html 554,7 720,34
+rect $smartmedia_8hch.html 744,7 861,34
+rect $audio_8hch.html 885,7 965,34
+rect $mouse__shared_8hch.html 989,7 1125,34
+rect $eventhandler__shared_8hch.html 1149,7 1322,34
+rect $display_8hch.html 1346,7 1434,34
diff --git a/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.md5 b/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.md5
index 2d7426a..4d36ea5 100644
--- a/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.md5
+++ b/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.md5
@@ -1 +1 @@
-f470da8edd0766027061fff526b49c25 \ No newline at end of file
+86c9bdde69fa949899315e166183a539 \ No newline at end of file
diff --git a/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.png b/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.png
index 6eaf676..a0e23b0 100644
--- a/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.png
+++ b/Graphic_Equalizer/doc/html/smartmedia_8hcc__incl.png
Binary files differ
diff --git a/Graphic_Equalizer/doc/html/smartmedia_8hch-source.html b/Graphic_Equalizer/doc/html/smartmedia_8hch-source.html
index 712530e..4cda79f 100644
--- a/Graphic_Equalizer/doc/html/smartmedia_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/smartmedia_8hch-source.html
@@ -1,61 +1,64 @@
<!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/include/smartmedia.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/smartmedia.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>smartmedia.hch</h1><a href="smartmedia_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _SMARTMEDIA_HCH</span>
-00020 <span class="preprocessor"></span><span class="preprocessor">#define _SMARTMEDIA_HCH 1</span>
+<a name="l00020"></a><a class="code" href="smartmedia_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _SMARTMEDIA_HCH 1</span>
00021 <span class="preprocessor"></span>
-00022 <span class="comment">/*</span>
-00023 <span class="comment"> * SmartMedia functioncalls a bit to be set to either Read or Write. This</span>
-00024 <span class="comment"> * define should make life easier identifying which one is what.</span>
-00025 <span class="comment"> */</span>
-00026 <span class="preprocessor">#define READ 0</span>
-00027 <span class="preprocessor"></span><span class="preprocessor">#define WRITE 1</span>
-00028 <span class="preprocessor"></span>
-00029
-00030
-00031 <span class="comment">/*</span>
-00032 <span class="comment"> * The different stages the smart media loaders knows.</span>
-00033 <span class="comment"> */</span>
-00034 <span class="preprocessor">#define STAGE_LOAD_SKIN 0x00</span>
-00035 <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_HELP 0x01</span>
-00036 <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_GRAPH 0x02</span>
-00037 <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_PRESET 0x03</span>
-00038 <span class="preprocessor"></span>
-00039
-00040 <span class="comment">/*</span>
-00041 <span class="comment"> * Create a define to keep API generic</span>
-00042 <span class="comment"> * FIXME: replace with PAL calls when avaiable.</span>
-00043 <span class="comment"> */</span>
-00044 <span class="preprocessor">#define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)</span>
-00045 <span class="preprocessor"></span><span class="preprocessor">#define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)</span>
-00046 <span class="preprocessor"></span>
-00047
-00048
-00049 <span class="comment">/*</span>
-00050 <span class="comment"> * Initializes the smartmedia device.</span>
-00051 <span class="comment"> */</span>
-00052
-00053 <span class="keywordtype">unsigned</span> 1 <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>(<span class="keywordtype">void</span>);
-00054
+00022
+00023
+00024 <span class="comment">/*</span>
+00025 <span class="comment"> * SmartMedia functioncalls a bit to be set to either Read or Write. This</span>
+00026 <span class="comment"> * define should make life easier identifying which one is what.</span>
+00027 <span class="comment"> */</span>
+<a name="l00028"></a><a class="code" href="smartmedia_8hch.html#a1">00028</a> <span class="preprocessor">#define READ 0</span>
+<a name="l00029"></a><a class="code" href="smartmedia_8hch.html#a2">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define WRITE 1</span>
+00030 <span class="preprocessor"></span>
+00031
+00032
+00033 <span class="comment">/*</span>
+00034 <span class="comment"> * The different stages the smart media loaders knows.</span>
+00035 <span class="comment"> */</span>
+<a name="l00036"></a><a class="code" href="smartmedia_8hch.html#a3">00036</a> <span class="preprocessor">#define STAGE_LOAD_SKIN 0x00</span>
+<a name="l00037"></a><a class="code" href="smartmedia_8hch.html#a4">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_HELP 0x01</span>
+<a name="l00038"></a><a class="code" href="smartmedia_8hch.html#a5">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_GRAPH 0x02</span>
+<a name="l00039"></a><a class="code" href="smartmedia_8hch.html#a6">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_PRESET 0x03</span>
+00040 <span class="preprocessor"></span>
+00041
+00042
+00043 <span class="comment">/*</span>
+00044 <span class="comment"> * Create a define to keep API generic</span>
+00045 <span class="comment"> * FIXME: replace with PAL calls when avaiable.</span>
+00046 <span class="comment"> */</span>
+<a name="l00047"></a><a class="code" href="smartmedia_8hch.html#a7">00047</a> <span class="preprocessor">#define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)</span>
+<a name="l00048"></a><a class="code" href="smartmedia_8hch.html#a8">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)</span>
+00049 <span class="preprocessor"></span>
+00050
+00051
+00052 <span class="comment">/*</span>
+00053 <span class="comment"> * Initializes the smartmedia device.</span>
+00054 <span class="comment"> */</span>
00055
-00056
-00057 <span class="comment">/*</span>
-00058 <span class="comment"> * This function loads the memory with data from the smartmedia card.</span>
-00059 <span class="comment"> */</span>
-00060 <span class="keywordtype">void</span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(skindata_t *skindata);
-00061
-00062 <span class="preprocessor">#else</span>
-00063 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file smartmedia.hch multiple times included"</span>
-00064 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _SMARTMEDIA_HCH --- */</span>
-00065
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+00056 <span class="keywordtype">unsigned</span> 1 <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>(<span class="keywordtype">void</span>);
+00057
+00058
+00059
+00060 <span class="comment">/*</span>
+00061 <span class="comment"> * This function loads the memory with data from the smartmedia card.</span>
+00062 <span class="comment"> */</span>
+00063 <span class="keywordtype">void</span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(<a class="code" href="structskindata__t.html">skindata_t</a> *skindata);
+00064
+00065 <span class="preprocessor">#else</span>
+00066 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file smartmedia.hch multiple times included"</span>
+00067 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _SMARTMEDIA_HCH --- */</span>
+00068
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/smartmedia_8hch.html b/Graphic_Equalizer/doc/html/smartmedia_8hch.html
index e5433b3..c6b2545 100644
--- a/Graphic_Equalizer/doc/html/smartmedia_8hch.html
+++ b/Graphic_Equalizer/doc/html/smartmedia_8hch.html
@@ -1,10 +1,10 @@
<!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/include/smartmedia.hch File Reference</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/smartmedia.hch 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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
<h1>smartmedia.hch File Reference</h1>
@@ -18,17 +18,36 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<a href="smartmedia_8hch-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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a0">_SMARTMEDIA_HCH</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a1">READ</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a2">WRITE</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a3">STAGE_LOAD_SKIN</a>&nbsp;&nbsp;&nbsp;0x00</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a4">STAGE_LOAD_HELP</a>&nbsp;&nbsp;&nbsp;0x01</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a5">STAGE_LOAD_GRAPH</a>&nbsp;&nbsp;&nbsp;0x02</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a6">STAGE_LOAD_PRESET</a>&nbsp;&nbsp;&nbsp;0x03</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a7">CPLDRun</a>(ClockRate)&nbsp;&nbsp;&nbsp;RC200CPLDRun(ClockRate)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a8">SmartMediaRun</a>(ClockRate)&nbsp;&nbsp;&nbsp;RC200SmartMediaRun(ClockRate)</td></tr>
+
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a9">smartmedia_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">We here initialize the Smart Media card and verify wether the card is inserted and such. <a href="#a9"></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="smartmedia_8hch.html#a10">smartmedia_loaddata</a> (skindata_t *skindata)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="smartmedia_8hch.html#a10">smartmedia_loaddata</a> (<a class="el" href="structskindata__t.html">skindata_t</a> *skindata)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">We load our memory with skin and help data from the smartmedia. <a href="#a10"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
-Audiodriver API</a></h2>
+Graphic Equalizer API</a></h2>
<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
@@ -42,7 +61,257 @@ Change history</a></h2>
20041110: O.M. Schinagl<br>
Initial version
<p>
-Definition in file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.<hr><h2>Function Documentation</h2>
+Definition in file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.<hr><h2>Define Documentation</h2>
+<a class="anchor" name="a0" doxytag="smartmedia.hch::_SMARTMEDIA_HCH"></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">#define _SMARTMEDIA_HCH&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00020">20</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="smartmedia.hch::READ"></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">#define READ&nbsp;&nbsp;&nbsp;0 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00028">28</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.
+<p>
+Referenced by <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="smartmedia.hch::WRITE"></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">#define WRITE&nbsp;&nbsp;&nbsp;1 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00029">29</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="smartmedia.hch::STAGE_LOAD_SKIN"></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">#define STAGE_LOAD_SKIN&nbsp;&nbsp;&nbsp;0x00 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00036">36</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.
+<p>
+Referenced by <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="smartmedia.hch::STAGE_LOAD_HELP"></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">#define STAGE_LOAD_HELP&nbsp;&nbsp;&nbsp;0x01 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00037">37</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.
+<p>
+Referenced by <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a5" doxytag="smartmedia.hch::STAGE_LOAD_GRAPH"></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">#define STAGE_LOAD_GRAPH&nbsp;&nbsp;&nbsp;0x02 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00038">38</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.
+<p>
+Referenced by <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a6" doxytag="smartmedia.hch::STAGE_LOAD_PRESET"></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">#define STAGE_LOAD_PRESET&nbsp;&nbsp;&nbsp;0x03 </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00039">39</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.
+<p>
+Referenced by <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a7" doxytag="smartmedia.hch::CPLDRun"></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">#define CPLDRun </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">ClockRate&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap>&nbsp;&nbsp;&nbsp;RC200CPLDRun(ClockRate)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00047">47</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.
+<p>
+Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="a8" doxytag="smartmedia.hch::SmartMediaRun"></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">#define SmartMediaRun </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">ClockRate&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap>&nbsp;&nbsp;&nbsp;RC200SmartMediaRun(ClockRate)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smartmedia_8hch-source.html#l00048">48</a> of file <a class="el" href="smartmedia_8hch-source.html">smartmedia.hch</a>.
+<p>
+Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
<a class="anchor" name="a9" doxytag="smartmedia.hch::smartmedia_init"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -78,7 +347,7 @@ We here initialize the Smart Media card and verify wether the card is inserted a
</dl>
<p>
-Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00045">45</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
+Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00046">46</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
@@ -91,7 +360,7 @@ Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. <
<tr>
<td class="md" nowrap valign="top">void smartmedia_loaddata </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top">skindata_t *&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structskindata__t.html">skindata_t</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>skindata</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
@@ -123,12 +392,14 @@ We load our memory with skin and help data from the smartmedia.
</dl>
<p>
-Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00071">71</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
+Definition at line <a class="el" href="smartmedia_8hcc-source.html#l00072">72</a> of file <a class="el" href="smartmedia_8hcc-source.html">smartmedia.hcc</a>.
+<p>
+References <a class="el" href="smartmedia__shared_8hch-source.html#l00066">ADDRESS_GRAPHMASK_START</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00063">ADDRESS_HELP_START</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00069">ADDRESS_PRESET_DEMO_START</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00073">ADDRESS_PRESET_RESET_END</a>, <a class="el" href="smartmedia__shared_8hch-source.html#l00072">ADDRESS_PRESET_RESET_START</a>, <a class="el" href="events_8hcc-source.html#l00037">presets_default_values</a>, <a class="el" href="smartmedia_8hch-source.html#l00028">READ</a>, <a class="el" href="smartmedia_8hch-source.html#l00038">STAGE_LOAD_GRAPH</a>, <a class="el" href="smartmedia_8hch-source.html#l00037">STAGE_LOAD_HELP</a>, <a class="el" href="smartmedia_8hch-source.html#l00039">STAGE_LOAD_PRESET</a>, and <a class="el" href="smartmedia_8hch-source.html#l00036">STAGE_LOAD_SKIN</a>.
<p>
Referenced by <a class="el" href="main_8hcc-source.html#l00051">main()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:49 2004 for Graphic Equalizer by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:14 2004 for Graphic Equalizer 2 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>
diff --git a/Graphic_Equalizer/doc/html/tree.html b/Graphic_Equalizer/doc/html/tree.html
index 7e534a9..60c70e1 100644
--- a/Graphic_Equalizer/doc/html/tree.html
+++ b/Graphic_Equalizer/doc/html/tree.html
@@ -108,7 +108,7 @@
<body>
<div class="directory">
- <h3>Graphic Equalizer</h3>
+ <h3>Graphic Equalizer 2</h3>
<div style="display: block;">
<p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="main.html" target="basefrm">Main Page</a></p>
<p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder1', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder1', this)"/><a class="el" href="files.html" target="basefrm">File List</a></p>
@@ -120,12 +120,13 @@
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="eventhandler_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/eventhandler.hch</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="eventhandler__shared_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/eventhandler_shared.hch</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="events_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/events.hch</a></p>
- <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><b>C:/Project Marcel & Oliver/Graphic_Equalizer/include/fft.hch</b></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="fft_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/fft.hch</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="mouse_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/mouse.hch</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="mouse__shared_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/mouse_shared.hch</a></p>
- <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><b>C:/Project Marcel & Oliver/Graphic_Equalizer/include/runfft.hch</b></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="runfft_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/runfft.hch</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="smartmedia_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/smartmedia.hch</a></p>
- <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><b>C:/Project Marcel & Oliver/Graphic_Equalizer/include/weights_256.hch</b></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="smartmedia__shared_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/smartmedia_shared.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="weights__256_8hch.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/include/weights_256.hch</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="audio_8hcc.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/src/audio.hcc</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="display_8hcc.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/src/display.hcc</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="eventhandler_8hcc.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/src/eventhandler.hcc</a></p>
@@ -136,6 +137,62 @@
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="runfft_8hcc.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/src/runfft.hcc</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="smartmedia_8hcc.html" target="basefrm">C:/Project Marcel & Oliver/Graphic_Equalizer/src/smartmedia.hcc</a></p>
</div>
+ <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder2', this)"/><a class="el" href="annotated.html" target="basefrm">Data Structures</a></p>
+ <div id="folder2">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structaudiodata__t.html" target="basefrm">audiodata_t</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structevents__t.html" target="basefrm">events_t</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structmousedata__t.html" target="basefrm">mousedata_t</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structskindata__t.html" target="basefrm">skindata_t</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structskindata__t_1_1skin__info__t.html" target="basefrm">skindata_t::skin_info_t</a></p>
+ </div>
+ <p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="functions.html" target="basefrm">Data Fields</a></p>
+ <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder3', this)"/><a class="el" href="dirs.html" target="basefrm">Directories</a></p>
+ <div id="folder3">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder4', this)"/><a class="el" href="dir_000000.html" target="basefrm">C:</a></p>
+ <div id="folder4">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder5', this)"/><a class="el" href="dir_000001.html" target="basefrm">Project Marcel & Oliver</a></p>
+ <div id="folder5">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder6', this)"/><a class="el" href="dir_000002.html" target="basefrm">Graphic_Equalizer</a></p>
+ <div id="folder6">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder7', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder7', this)"/><a class="el" href="dir_000003.html" target="basefrm">include</a></p>
+ <div id="folder7">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder8', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder8', this)"/><a class="el" href="dir_000003.html" target="basefrm">Files</a></p>
+ <div id="folder8">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="audio_8hch.html" target="basefrm">audio.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="configuration_8hch.html" target="basefrm">configuration.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="display_8hch.html" target="basefrm">display.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="display__shared_8hch.html" target="basefrm">display_shared.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="eventhandler_8hch.html" target="basefrm">eventhandler.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="eventhandler__shared_8hch.html" target="basefrm">eventhandler_shared.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="events_8hch.html" target="basefrm">events.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="fft_8hch.html" target="basefrm">fft.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="mouse_8hch.html" target="basefrm">mouse.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="mouse__shared_8hch.html" target="basefrm">mouse_shared.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="runfft_8hch.html" target="basefrm">runfft.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="smartmedia_8hch.html" target="basefrm">smartmedia.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="smartmedia__shared_8hch.html" target="basefrm">smartmedia_shared.hch</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="weights__256_8hch.html" target="basefrm">weights_256.hch</a></p>
+ </div>
+ </div>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder9', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder9', this)"/><a class="el" href="dir_000004.html" target="basefrm">src</a></p>
+ <div id="folder9">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder10', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder10', this)"/><a class="el" href="dir_000004.html" target="basefrm">Files</a></p>
+ <div id="folder10">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="audio_8hcc.html" target="basefrm">audio.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="display_8hcc.html" target="basefrm">display.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="eventhandler_8hcc.html" target="basefrm">eventhandler.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="events_8hcc.html" target="basefrm">events.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="fft_8hcc.html" target="basefrm">fft.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="main_8hcc.html" target="basefrm">main.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="mouse_8hcc.html" target="basefrm">mouse.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="runfft_8hcc.html" target="basefrm">runfft.hcc</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2blank.png" alt="&nbsp;" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="smartmedia_8hcc.html" target="basefrm">smartmedia.hcc</a></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
<p><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="globals.html" target="basefrm">Globals</a></p>
</div>
</div>
diff --git a/Graphic_Equalizer/doc/html/weights__256_8hch-source.html b/Graphic_Equalizer/doc/html/weights__256_8hch-source.html
index 7b24314..47f01f2 100644
--- a/Graphic_Equalizer/doc/html/weights__256_8hch-source.html
+++ b/Graphic_Equalizer/doc/html/weights__256_8hch-source.html
@@ -1,16 +1,16 @@
<!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/include/weights_256.hch Source File</title>
+<title>Graphic Equalizer 2: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/include/weights_256.hch Source File</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="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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_000003.html">include</a></div>
-<h1>weights_256.hch</h1><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#define INTBITS 1</span>
-00002 <span class="preprocessor"></span><span class="preprocessor">#define FRACBITS 14</span>
+<h1>weights_256.hch</h1><a href="weights__256_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a><a class="code" href="weights__256_8hch.html#a0">00001</a> <span class="preprocessor">#define INTBITS 1</span>
+<a name="l00002"></a><a class="code" href="weights__256_8hch.html#a1">00002</a> <span class="preprocessor"></span><span class="preprocessor">#define FRACBITS 14</span>
00003 <span class="preprocessor"></span>
-00004 rom <span class="keywordtype">signed</span> 16 weight_re[128] = {
+<a name="l00004"></a><a class="code" href="weights__256_8hch.html#a2">00004</a> rom <span class="keywordtype">signed</span> 16 <a class="code" href="weights__256_8hch.html#a2">weight_re</a>[128] = {
00005 16384,
00006 16379,
00007 16364,
@@ -141,7 +141,7 @@
00132 -16379
00133 } with {block = <span class="stringliteral">"BlockRAM"</span>};
00134
-00135 rom <span class="keywordtype">signed</span> 16 weight_im[128] = {
+<a name="l00135"></a><a class="code" href="weights__256_8hch.html#a3">00135</a> rom <span class="keywordtype">signed</span> 16 <a class="code" href="weights__256_8hch.html#a3">weight_im</a>[128] = {
00136 0,
00137 -402,
00138 -804,
@@ -271,7 +271,7 @@
00262 -804,
00263 -402,
00264 } with {block = <span class="stringliteral">"BlockRAM"</span>};
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:09:09 2004 for Graphic Equalizer 2 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>