Main Page | Data Structures | Directories | File List | Data Fields | Globals

eventhandler_shared.hch

Go to the documentation of this file.
00001 
00019 #ifndef _EVENTHANDLER_SHARED_HCH
00020 #define _EVENTHANDLER_SHARED_HCH 1
00021 
00022 
00023 
00024 /*** Data Types **********************/
00025 
00026 /*
00027  * Type definition of the shared memory to be used in various processes
00028  */
00029 typedef struct {
00030         ram unsigned 10 equalizer_display[128];
00031         unsigned 10 active_preset;
00032         unsigned 10 volume_position;
00033         unsigned 8 mask;
00034         unsigned 4 mode;
00035         unsigned 4 equalizer_mode;
00036         unsigned 1 locked_display;
00037 } events_t;
00038 
00039 
00040 #define MODE_SKIN       0x00
00041 #define MODE_HELP       0x01
00042 #define MODE_GRAPH      0x02
00043 
00044 
00045 
00046 #define EQUALIZERMODE_FULL      0x05
00047 #define EQUALIZERMODE_HALF      0x03
00048 #define EQUALIZERMODE_PRECISE   0x00
00049 
00050 
00051 /*
00052  * Volume Control lookuptable.
00053  * TODO: This table is now hardcoded. To ensure full skinability this table
00054  * should be dynamically loaded.
00055  */
00056 extern unsigned 5 volumecontrol_table[46];
00057 
00058 /*
00059  * Equalizer lookup tables.
00060  * TODO: This table is now hardcoded. To ensure full skinability this table
00061  * should be dynamically loaded.
00062  */
00063 extern unsigned 4 equalizer_table[640];
00064 extern unsigned 10 equalizer_table_inv[16];
00065 
00066 
00067 
00068 #else
00069 #error "ERROR file eventhandler_shared.hch multiple times included"
00070 #endif /* --- _EVENTHANDLER_SHARED_HCH --- */
00071 

Generated on Thu Dec 9 14:37:06 2004 for Graphic Equalizer 2 by  doxygen 1.3.9.1