summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/doc/html/eventhandler__shared_8hch-source.html
blob: f7b6e5780a355169585444f3ffef1b6a2594f2c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">C:</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">Project  Marcel &amp; Oliver</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">Graphic_Equalizer</a>&nbsp;/&nbsp;<a class="el" href="dir_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>
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>
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;
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>
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 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>