From 2890033f504a8b01d345baed6acf0d0326768c91 Mon Sep 17 00:00:00 2001 From: Oliver Schinagl Date: Fri, 26 Nov 2004 15:47:49 +0000 Subject: Increased equalizer table array to 640 elements. redefined equalizer modes. --- Graphic_Equalizer/include/eventhandler_shared.hch | 16 ++++++++-------- 1 file 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]; -- cgit v0.12