summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/eventhandler_shared.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-24 15:13:54 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-24 15:13:54 (GMT)
commitb78aa68cc5963cd719987bd09815220c82d1b234 (patch)
treed35787763b61c6399481dcdfba27e15aa2ea78ef /Graphic_Equalizer/include/eventhandler_shared.hch
parent33c30f42fe29fe01d767072bbe076979eb7284b5 (diff)
downloadTASS-b78aa68cc5963cd719987bd09815220c82d1b234.zip
TASS-b78aa68cc5963cd719987bd09815220c82d1b234.tar.gz
TASS-b78aa68cc5963cd719987bd09815220c82d1b234.tar.bz2
we have added pointers to the dual buffered equalizer part of the display and a flag to lock the buffers.
Also added indicator which mode we are using for equalizer updates. Created defines to go with that. Added defines to indicate what operational mode we are in.
Diffstat (limited to 'Graphic_Equalizer/include/eventhandler_shared.hch')
-rw-r--r--Graphic_Equalizer/include/eventhandler_shared.hch20
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];