summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Lauwerijssen <paranoya@morphcore.com>2004-11-29 11:53:51 (GMT)
committerMarcel Lauwerijssen <paranoya@morphcore.com>2004-11-29 11:53:51 (GMT)
commit6070a88110a13051492438d6654d6e0e7d56e163 (patch)
tree8849a0fd371fbcd8132f0ceeea51a190939f075c
parent388699419b93c5e5c4dbf121acb96c8fe7f9f137 (diff)
downloadTASS-6070a88110a13051492438d6654d6e0e7d56e163.zip
TASS-6070a88110a13051492438d6654d6e0e7d56e163.tar.gz
TASS-6070a88110a13051492438d6654d6e0e7d56e163.tar.bz2
Updated doxygen tags
-rw-r--r--Graphic_Equalizer/include/fft.hch22
1 files changed, 22 insertions, 0 deletions
diff --git a/Graphic_Equalizer/include/fft.hch b/Graphic_Equalizer/include/fft.hch
index f0cd695..0d2399b 100644
--- a/Graphic_Equalizer/include/fft.hch
+++ b/Graphic_Equalizer/include/fft.hch
@@ -1,8 +1,30 @@
#if HARDWARE_MULTIPLY
+/*
+ * This routine obtains the audio data from the audio I/O component and copies this
+ * data to local arrays for calculating purposes, and calls the FFT algorithm.
+*/
void perform_fft(signed 18 *pcm_audio);
+
+/* This routine calls the ifft algorithm and after completing that it obtains the
+ * modified audio data and copies that to the output arrays of the audio I/O component.
+ * Besides that it also fills the array used by the display routine for displaying the waveform.
+*/
void perform_ifft(signed 18 *modified_audio ,unsigned 6 *ifft_info);
#else
+/*
+ * This routine obtains the audio data from the audio I/O component and copies this
+ * data to local arrays for calculating purposes, and calls the FFT algorithm.
+*/
void perform_fft(signed 16 *pcm_audio);
+
+/* This routine calls the ifft algorithm and after completing that it obtains the
+ * modified audio data and copies that to the output arrays of the audio I/O component.
+ * Besides that it also fills the array used by the display routine for displaying the waveform.
+*/
void perform_ifft(signed 16 *modified_audio ,unsigned 6 *ifft_info);
#endif
+
+/* This routine equalizes the frequencies derived by the FFT calculation,
+ * according to the settings of the equalizer bars.
+*/
void equalize_audio(audiodata_t *audiodata);