summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer_v1.0/doc/html/eventhandler__shared_8hch-source.html
blob: 647d39b06e8777749372890850219d65be702848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!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 &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="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>
<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 
00024 <span class="comment">/*** Data Types **********************/</span>
00025 
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>
<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 
<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 
<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:37:06 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>
</html>