summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-16 09:50:21 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-16 09:50:21 (GMT)
commitd6d20e4ef996d2d84bfb59a6eb0b8b1d1c7c28e3 (patch)
tree16d70e9d3651cb387ebeaf9544248f0830e79b95 /Graphic_Equalizer
parente9887c37a723d82a28a54eaf9c3d4db187bb3399 (diff)
downloadTASS-d6d20e4ef996d2d84bfb59a6eb0b8b1d1c7c28e3.zip
TASS-d6d20e4ef996d2d84bfb59a6eb0b8b1d1c7c28e3.tar.gz
TASS-d6d20e4ef996d2d84bfb59a6eb0b8b1d1c7c28e3.tar.bz2
changed equalizer levels from one large array beeing passed on, to just having a pointer passed on.
Diffstat (limited to 'Graphic_Equalizer')
-rw-r--r--Graphic_Equalizer/include/audio.hch5
-rw-r--r--Graphic_Equalizer/include/eventhandler_shared.hch1
2 files changed, 1 insertions, 5 deletions
diff --git a/Graphic_Equalizer/include/audio.hch b/Graphic_Equalizer/include/audio.hch
index a09fe8d..0759f7f 100644
--- a/Graphic_Equalizer/include/audio.hch
+++ b/Graphic_Equalizer/include/audio.hch
@@ -31,11 +31,6 @@ typedef struct {
ram signed 6 write[256];
rom signed 6 read[256];
} ifft_info with { block = "BlockRAM"};
- mpram {
- ram unsigned 4 write[768];
- rom unsigned 4 read[768];
- } equalizer_levels with { block = "BlockRAM"};
- unsigned 10 active_preset;
unsigned 4 *equalizer_levels_ptr;
unsigned 1 display_log;
} audiodata_t;
diff --git a/Graphic_Equalizer/include/eventhandler_shared.hch b/Graphic_Equalizer/include/eventhandler_shared.hch
index 4711356..5bf9ecf 100644
--- a/Graphic_Equalizer/include/eventhandler_shared.hch
+++ b/Graphic_Equalizer/include/eventhandler_shared.hch
@@ -27,6 +27,7 @@
* Type definition of the shared memory to be used in various processes
*/
typedef struct {
+ unsigned 10 active_preset;
unsigned 10 volume_position;
unsigned ram 9 equalizer_position[128];
unsigned 8 mask;