fixed upper frequency-boundary

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1126 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-14 17:14:25 +00:00
parent 25d598745f
commit d594505cbb

View File

@@ -353,7 +353,7 @@ bool spectrumAnalyzer::processAudioBuffer( sampleFrame * _buf,
const sample_rate_t sr = engine::getMixer()->processingSampleRate();
const int LOWEST_FREQ = 0;
const int HIGHEST_FREQ = 10000;//sr / 2;
const int HIGHEST_FREQ = sr / 2;
fftw_execute( m_fftPlan );
absspec( m_specBuf, m_absSpecBuf, BUFFER_SIZE+1 );