mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
more use of size_t
This commit is contained in:
@@ -868,7 +868,7 @@ int Envelope::Move(double when, double value)
|
||||
}
|
||||
|
||||
|
||||
int Envelope::GetNumberOfPoints() const
|
||||
size_t Envelope::GetNumberOfPoints() const
|
||||
{
|
||||
return mEnv.size();
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ class Envelope final : public XMLTagHandler {
|
||||
void Insert(int point, const EnvPoint &p);
|
||||
|
||||
/** \brief Return number of points */
|
||||
int GetNumberOfPoints() const;
|
||||
size_t GetNumberOfPoints() const;
|
||||
|
||||
/** \brief Accessor for points */
|
||||
const EnvPoint &operator[] (int index) const
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "sndfile.h"
|
||||
|
||||
void ComputeLegacySummaryInfo(const wxFileName &fileName,
|
||||
int summaryLen,
|
||||
size_t summaryLen,
|
||||
sampleFormat format,
|
||||
SummaryInfo *info,
|
||||
bool noRMS,bool Silent,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "../BlockFile.h"
|
||||
|
||||
void ComputeLegacySummaryInfo(const wxFileName &fileName,
|
||||
int summaryLen,
|
||||
size_t summaryLen,
|
||||
sampleFormat format,
|
||||
SummaryInfo *info,
|
||||
bool noRMS,bool Silent,
|
||||
|
||||
Reference in New Issue
Block a user