summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/eventhandler_shared.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-12-09 14:00:26 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-12-09 14:00:26 (GMT)
commitb0ae032ae5712e38471c9347af289f3e50b0a08a (patch)
tree5f98113107975ddcc484cffb27625e09d015f504 /Graphic_Equalizer/include/eventhandler_shared.hch
parent593d5fded11b8723ce27883e06865ab205c6f008 (diff)
downloadTASS-b0ae032ae5712e38471c9347af289f3e50b0a08a.zip
TASS-b0ae032ae5712e38471c9347af289f3e50b0a08a.tar.gz
TASS-b0ae032ae5712e38471c9347af289f3e50b0a08a.tar.bz2
Added defines makeing it possible to split the application in various parts namely:
Loader (loads data from the smart media into ram) Equalizer (The 'normal' known application) Visualization (The graphical visualization)
Diffstat (limited to 'Graphic_Equalizer/include/eventhandler_shared.hch')
-rw-r--r--Graphic_Equalizer/include/eventhandler_shared.hch71
1 files changed, 0 insertions, 71 deletions
diff --git a/Graphic_Equalizer/include/eventhandler_shared.hch b/Graphic_Equalizer/include/eventhandler_shared.hch
deleted file mode 100644
index d21cff4..0000000
--- a/Graphic_Equalizer/include/eventhandler_shared.hch
+++ /dev/null
@@ -1,71 +0,0 @@
-/*! \file eventhandler_shared.hch
- *
- * \section generic Shared definitions etc. for eveents.
- *
- * \section project Project information.
- * Project Graphic Equalizer\n
- * \author O.M. Schinagl
- * \date 20041110
- * \version 0.1
- *
- * \section copyright Copyright
- * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
- *
- * \section history Change history
- * 20041110: O.M. Schinagl\n Initial version
- *
- *****************************************************************************/
-
-#ifndef _EVENTHANDLER_SHARED_HCH
-#define _EVENTHANDLER_SHARED_HCH 1
-
-
-
-/*** Data Types **********************/
-
-/*
- * Type definition of the shared memory to be used in various processes
- */
-typedef struct {
- ram unsigned 10 equalizer_display[128];
- unsigned 10 active_preset;
- unsigned 10 volume_position;
- unsigned 8 mask;
- unsigned 4 mode;
- unsigned 4 equalizer_mode;
- unsigned 1 locked_display;
-} events_t;
-
-
-#define MODE_SKIN 0x00
-#define MODE_HELP 0x01
-#define MODE_GRAPH 0x02
-
-
-
-#define EQUALIZERMODE_FULL 0x05
-#define EQUALIZERMODE_HALF 0x03
-#define EQUALIZERMODE_PRECISE 0x00
-
-
-/*
- * Volume Control lookuptable.
- * TODO: This table is now hardcoded. To ensure full skinability this table
- * should be dynamically loaded.
- */
-extern unsigned 5 volumecontrol_table[46];
-
-/*
- * Equalizer lookup tables.
- * TODO: This table is now hardcoded. To ensure full skinability this table
- * should be dynamically loaded.
- */
-extern unsigned 4 equalizer_table[640];
-extern unsigned 10 equalizer_table_inv[16];
-
-
-
-#else
-#error "ERROR file eventhandler_shared.hch multiple times included"
-#endif /* --- _EVENTHANDLER_SHARED_HCH --- */
-