diff options
author | Joerg Mueller <nexyon@gmail.com> | 2010-01-01 14:55:56 +0300 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2010-01-01 14:55:56 +0300 |
commit | 0b673d45e535fc59546631d2ffe602bd68aaba56 (patch) | |
tree | eb86c64152e1cf3929bec38a795d0586793a28bb /intern/audaspace/fftw/AUD_BandPassReader.cpp | |
parent | dff4c87f84897d3b95dd33ca18572b06f22085a8 (diff) |
Small fixes for some float literals.
Diffstat (limited to 'intern/audaspace/fftw/AUD_BandPassReader.cpp')
-rw-r--r-- | intern/audaspace/fftw/AUD_BandPassReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/audaspace/fftw/AUD_BandPassReader.cpp b/intern/audaspace/fftw/AUD_BandPassReader.cpp index e77b69863f1..67729914c6d 100644 --- a/intern/audaspace/fftw/AUD_BandPassReader.cpp +++ b/intern/audaspace/fftw/AUD_BandPassReader.cpp @@ -108,7 +108,7 @@ void AUD_BandPassReader::read(int & length, sample_t* & buffer) for(int i = 0; i < m_length / 2 + 1; i++) { - frequency = i * specs.rate / (m_length / 2.0 + 1.0); + frequency = i * specs.rate / (m_length / 2.0f + 1.0f); if((frequency < m_low) || (frequency > m_high)) complex[i][0] = complex[i][1] = 0.0; } |