1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Preliminaries for bug 900

Create WaveTrackCache as a utility class but don't use it anywhere yet.

The possible minor performance problem with effects is fixed by changes
in WaveTrack::GetBestBlockSize().
This commit is contained in:
Paul-Licameli
2015-03-28 14:46:40 -04:00
committed by Paul Licameli
parent 16e0fe3e12
commit bdc2839112
17 changed files with 365 additions and 60 deletions

View File

@@ -22,7 +22,7 @@
calculates windowSize/2 frequency samples
*/
bool ComputeSpectrum(float * data, int width, int windowSize,
bool ComputeSpectrum(const float * data, int width, int windowSize,
double rate, float *out, bool autocorrelation,
int windowFunc = eWinFuncHanning);