summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/audio.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/audio.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/audio.hch')
-rw-r--r--Graphic_Equalizer/include/audio.hch9
1 files changed, 5 insertions, 4 deletions
diff --git a/Graphic_Equalizer/include/audio.hch b/Graphic_Equalizer/include/audio.hch
index 79f9e9b..a09fe8d 100644
--- a/Graphic_Equalizer/include/audio.hch
+++ b/Graphic_Equalizer/include/audio.hch
@@ -28,15 +28,16 @@ typedef struct {
rom unsigned 7 read[256];
} fft_info with { block = "BlockRAM"};
mpram {
- ram unsigned 6 write[256];
- rom unsigned 6 read[256];
+ 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 1 log;
+ unsigned 4 *equalizer_levels_ptr;
+ unsigned 1 display_log;
} audiodata_t;
@@ -83,7 +84,7 @@ macro proc audio_init(gain_level, input_source, sample_rate, AUDIOIN, AUDIOOUT);
* Main audiodriver loop. This procedure never returns! It handles audio io and
* updates the shared memory. It needs Audio I/O handlers passed.
*/
-macro proc audio_main(AUDIOIN, AUDIOOUT);
+macro proc audio_main(audiodata, AUDIOIN, AUDIOOUT);
#else
#error "ERROR file audio.hch multiple times included"