diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2004-11-26 15:47:49 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2004-11-26 15:47:49 (GMT) |
commit | 2890033f504a8b01d345baed6acf0d0326768c91 (patch) | |
tree | 43950f3e60205fab7374d7dd2476164a685d5934 | |
parent | f16d1183a6ff0ce600368c91418f5ad7fc5a15d0 (diff) | |
download | TASS-2890033f504a8b01d345baed6acf0d0326768c91.zip TASS-2890033f504a8b01d345baed6acf0d0326768c91.tar.gz TASS-2890033f504a8b01d345baed6acf0d0326768c91.tar.bz2 |
Increased equalizer table array to 640 elements.
redefined equalizer modes.
-rw-r--r-- | Graphic_Equalizer/include/eventhandler_shared.hch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Graphic_Equalizer/include/eventhandler_shared.hch b/Graphic_Equalizer/include/eventhandler_shared.hch index 243c359..38f7ffc 100644 --- a/Graphic_Equalizer/include/eventhandler_shared.hch +++ b/Graphic_Equalizer/include/eventhandler_shared.hch @@ -27,13 +27,13 @@ * Type definition of the shared memory to be used in various processes
*/
typedef struct {
- unsigned 10 *equalizer_displayptr_set, *equalizer_displayptr_get;
+ ram unsigned 10 equalizer_display[128];
unsigned 10 active_preset;
unsigned 10 volume_position;
unsigned 8 mask;
- unsigned 8 locked_equalizer;
unsigned 4 mode;
unsigned 3 equalizer_mode;
+ unsigned 1 locked_equalizer;
} events_t;
@@ -43,11 +43,11 @@ typedef struct { -#define EQUALIZERMODE_CONVEX_FULL 0x01
-#define EQUALIZERMODE_CONVEX_HALF 0x02
-#define EQUALIZERMODE_PRECISE 0x03
-#define EQUALIZERMODE_CONCAVE_HALF 0x04
-#define EQUALIZERMODE_CONCAVE_FULL 0x05
+#define EQUALIZERMODE_CONVEX_FULL 0x05
+#define EQUALIZERMODE_CONVEX_HALF 0x03
+#define EQUALIZERMODE_PRECISE 0x01
+#define EQUALIZERMODE_CONCAVE_HALF 0x02
+#define EQUALIZERMODE_CONCAVE_FULL 0x04
@@ -63,7 +63,7 @@ extern unsigned 5 volumecontrol_table[46]; * TODO: This table is now hardcoded. To ensure full skinability this table
* should be dynamically loaded.
*/
-extern unsigned 4 equalizer_table[66];
+extern unsigned 4 equalizer_table[640];
extern unsigned 10 equalizer_table_inv[16];
|