diff options
Diffstat (limited to 'Graphic_Equalizer_v1.0/doc/html/events_8hcc-source.html')
-rw-r--r-- | Graphic_Equalizer_v1.0/doc/html/events_8hcc-source.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Graphic_Equalizer_v1.0/doc/html/events_8hcc-source.html b/Graphic_Equalizer_v1.0/doc/html/events_8hcc-source.html new file mode 100644 index 0000000..d180b4a --- /dev/null +++ b/Graphic_Equalizer_v1.0/doc/html/events_8hcc-source.html @@ -0,0 +1,60 @@ +<!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 2: C:/Project Marcel & 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 Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">C:</a> / <a class="el" href="dir_000001.html">Project Marcel & Oliver</a> / <a class="el" href="dir_000002.html">Graphic_Equalizer</a> / <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 +00022 <span class="comment">/******** System Includes *************/</span> +00023 <span class="preprocessor">#include <stdlib.hch></span> +00024 +00025 <span class="preprocessor">#include "pal_master.hch"</span> +00026 +00027 <span class="comment">/******** Application Includes ********/</span> +00028 <span class="preprocessor">#include "<a class="code" href="configuration_8hch.html">configuration.hch</a>"</span> +00029 <span class="preprocessor">#include "<a class="code" href="eventhandler__shared_8hch.html">eventhandler_shared.hch</a>"</span> +00030 <span class="preprocessor">#include "<a class="code" href="events_8hch.html">events.hch</a>"</span> +00031 +00032 <span class="preprocessor">#if HAVE_DEBUG</span> +00033 <span class="preprocessor"></span><span class="preprocessor"> #include "debug.hch"</span> +00034 <span class="preprocessor">#endif</span> +00035 <span class="preprocessor"></span> +00036 +<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:37:06 2004 for Graphic Equalizer 2 by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> +</body> +</html> |