mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 22:21:11 +02:00
pixel column counts and sample window sizes use unsigned types
This commit is contained in:
@@ -11,9 +11,11 @@
|
||||
#ifndef __AUDACITY_SPECPOWERMETER_H_
|
||||
#define __AUDACITY_SPECPOWERMETER_H_
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
class SpecPowerMeter
|
||||
{
|
||||
int mSigLen;
|
||||
const size_t mSigLen;
|
||||
|
||||
float* mSigI;
|
||||
float* mSigFR;
|
||||
@@ -22,7 +24,7 @@ class SpecPowerMeter
|
||||
float CalcBinPower(float* sig_f_r, float* sig_f_i, int loBin, int hiBin);
|
||||
int Freq2Bin(float fc);
|
||||
public:
|
||||
SpecPowerMeter(int sigLen);
|
||||
SpecPowerMeter(size_t sigLen);
|
||||
~SpecPowerMeter();
|
||||
|
||||
float CalcPower(float* sig, float fc, float bw);
|
||||
|
Reference in New Issue
Block a user