1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-04 21:50:51 +01:00

pixel column counts and sample window sizes use unsigned types

This commit is contained in:
Paul Licameli
2016-09-08 14:28:34 -04:00
parent b910bf63da
commit ed21545c80
36 changed files with 1031 additions and 1010 deletions

View File

@@ -62,8 +62,8 @@ public:
// Return true iff successful
bool Calculate(Algorithm alg,
int windowFunc, // see FFT.h for values
int windowSize, double rate,
const float *data, int dataLen,
size_t windowSize, double rate,
const float *data, size_t dataLen,
float *pYMin = NULL, float *pYMax = NULL, // outputs
FreqGauge *progress = NULL);
@@ -80,7 +80,7 @@ private:
private:
Algorithm mAlg;
double mRate;
int mWindowSize;
size_t mWindowSize;
std::vector<float> mProcessed;
};
@@ -199,9 +199,9 @@ private:
double mRate;
int mDataLen;
size_t mDataLen;
float *mData;
int mWindowSize;
size_t mWindowSize;
bool mLogAxis;
float mYMin;