diff options
-rw-r--r-- | Graphic_Equalizer/include/eventhandler_shared.hch | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Graphic_Equalizer/include/eventhandler_shared.hch b/Graphic_Equalizer/include/eventhandler_shared.hch index 5bf9ecf..243c359 100644 --- a/Graphic_Equalizer/include/eventhandler_shared.hch +++ b/Graphic_Equalizer/include/eventhandler_shared.hch @@ -27,15 +27,29 @@ * Type definition of the shared memory to be used in various processes
*/
typedef struct {
+ unsigned 10 *equalizer_displayptr_set, *equalizer_displayptr_get;
unsigned 10 active_preset;
unsigned 10 volume_position;
- unsigned ram 9 equalizer_position[128];
unsigned 8 mask;
+ unsigned 8 locked_equalizer;
+ unsigned 4 mode;
unsigned 3 equalizer_mode;
- unsigned 1 help;
} events_t;
+#define MODE_SKIN 0x00
+#define MODE_HELP 0x01
+#define MODE_GRAPH 0x02
+
+
+
+#define EQUALIZERMODE_CONVEX_FULL 0x01
+#define EQUALIZERMODE_CONVEX_HALF 0x02
+#define EQUALIZERMODE_PRECISE 0x03
+#define EQUALIZERMODE_CONCAVE_HALF 0x04
+#define EQUALIZERMODE_CONCAVE_FULL 0x05
+
+
/*
* Volume Control lookuptable.
@@ -50,7 +64,7 @@ extern unsigned 5 volumecontrol_table[46]; * should be dynamically loaded.
*/
extern unsigned 4 equalizer_table[66];
-extern unsigned 9 equalizer_table_inv[16];
+extern unsigned 10 equalizer_table_inv[16];
|