blob: 90922fb066e72a9ae706aac3379961ff3035d5a1 (
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
|
/*! \file eventhandler_shared.hch
*
* \section generic Shared definitions etc. for eveents.
*
* \section project Project information.
* Project Graphic Equalizer\n
* \author O.M. Schinagl
* \date 20041110
* \version 0.1
*
* \section copyright Copyright
* Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
*
* \section history Change history
* 20041110: O.M. Schinagl\n Initial version
*
*****************************************************************************/
#ifndef _EVENTHANDLER_SHARED_HCH
#define _EVENTHANDLER_SHARED_HCH 1
/*** Data Types **********************/
/*
* Type definition of the shared memory to be used in various processes
*/
typedef struct {
unsigned 10 volume_position;
unsigned ram 9 equalizer_position[128];
unsigned 8 mask;
unsigned 1 help;
} events_t;
/*
* Volume Control lookuptable.
* TODO: This table is now hardcoded. To ensure full skinability this table
* should be dynamically loaded.
*/
extern unsigned 5 volumecontrol_table[46];
/*
* Equalizer lookuptabe.
* TODO: This table is now hardcoded. To ensure full skinability this table
* should be dynamically loaded.
*/
extern unsigned 4 equalizer_table[66];
#else
#error "ERROR file eventhandler_shared.hch multiple times included"
#endif /* --- _EVENTHANDLER_SHARED_HCH --- */
|