summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/src/fft.hcc
diff options
context:
space:
mode:
authorMarcel Lauwerijssen <paranoya@morphcore.com>2004-12-22 14:42:08 (GMT)
committerMarcel Lauwerijssen <paranoya@morphcore.com>2004-12-22 14:42:08 (GMT)
commit1de017e19015570f0ae8e35612e6aae382ce789c (patch)
treec213c63d3c64240959f3ad1289958a1e9bd2ec4d /Graphic_Equalizer/src/fft.hcc
parentf08be707d62975e6f6dd35720bf0867990dde730 (diff)
downloadTASS-1de017e19015570f0ae8e35612e6aae382ce789c.zip
TASS-1de017e19015570f0ae8e35612e6aae382ce789c.tar.gz
TASS-1de017e19015570f0ae8e35612e6aae382ce789c.tar.bz2
Modified comments
Diffstat (limited to 'Graphic_Equalizer/src/fft.hcc')
-rw-r--r--Graphic_Equalizer/src/fft.hcc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphic_Equalizer/src/fft.hcc b/Graphic_Equalizer/src/fft.hcc
index 1fda3b0..d7473b5 100644
--- a/Graphic_Equalizer/src/fft.hcc
+++ b/Graphic_Equalizer/src/fft.hcc
@@ -379,6 +379,8 @@ void perform_ifft(signed 16 *modified_audio, unsigned 6 *ifft_info)
modified_audio[k] = (p<-16);
#endif
//Fill the array for displaying the waveform, only the 6 MSB are needed.
+ //Because the display routine needs unsigned values a cast is done here, this should be fixed
+ //in such a way a cast is not necessary anymore.
ifft_info[k] = (unsigned 6)(32+(p[17:12]));
k++;
}