summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/configuration.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-16 09:07:49 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-16 09:07:49 (GMT)
commit0a9c7d08968e20efbbded3dc2a0e9081823610be (patch)
treead77076cff584e9ec20e61092bf3209950b0bc61 /Graphic_Equalizer/include/configuration.hch
parent2550e155ac6b08475039b24d44f4e08d1d1c53fc (diff)
downloadTASS-0a9c7d08968e20efbbded3dc2a0e9081823610be.zip
TASS-0a9c7d08968e20efbbded3dc2a0e9081823610be.tar.gz
TASS-0a9c7d08968e20efbbded3dc2a0e9081823610be.tar.bz2
Merged FFT into Graphic Equalizer.
Diffstat (limited to 'Graphic_Equalizer/include/configuration.hch')
-rw-r--r--Graphic_Equalizer/include/configuration.hch22
1 files changed, 21 insertions, 1 deletions
diff --git a/Graphic_Equalizer/include/configuration.hch b/Graphic_Equalizer/include/configuration.hch
index 3984404..a92fb7c 100644
--- a/Graphic_Equalizer/include/configuration.hch
+++ b/Graphic_Equalizer/include/configuration.hch
@@ -33,7 +33,7 @@
* 1. 0 will load all bitmaps.
*/
#define HAVE_SMARTMEDIA 0
-#define USE_MASK_ONLY 1
+#define USE_MASK_ONLY 0
#define SKIP_LOAD 1
@@ -100,6 +100,26 @@
#define PIXEL_VOLUME_YAXIS (0x0000ff)
#define PIXEL_EQUALIZER (0xff0000)
+
+
+/*
+ * FFT specific. TODO: Clean Up!
+ */
+#define USE_RUNFFT 1
+#define HARDWARE_MULTIPLY 1
+#define NUMBER_OF_COLUMNS 8
+#define NUMBER_OF_POINTS (1<<NUMBER_OF_COLUMNS)
+#define NUMBER_OF_FREQUENCIES (NUMBER_OF_POINTS>>1)
+#define PERFORM_FFT_CALCULATION 1
+#define USE_UNSIGNED_AUDIO 0
+#define PRINT_DEBUG 0
+
+#if HARDWARE_MULTIPLY
+#define DC_COMPONENT 0
+#else
+#define DC_COMPONENT 8470527
+#endif
+
#else
#error "ERROR file configuration.hch multiple times included"
#endif /* --- _CONFIGURATION_HCH --- */