mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
more use of size_t
This commit is contained in:
parent
12a78f9fae
commit
9ddb5bb1f3
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user