diff options
author | Marcel Lauwerijssen <paranoya@morphcore.com> | 2004-12-22 14:42:08 (GMT) |
---|---|---|
committer | Marcel Lauwerijssen <paranoya@morphcore.com> | 2004-12-22 14:42:08 (GMT) |
commit | 1de017e19015570f0ae8e35612e6aae382ce789c (patch) | |
tree | c213c63d3c64240959f3ad1289958a1e9bd2ec4d /Graphic_Equalizer/src/fft.hcc | |
parent | f08be707d62975e6f6dd35720bf0867990dde730 (diff) | |
download | TASS-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.hcc | 2 |
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++;
}
|