mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 16:48:44 +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();
|
return mEnv.size();
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ class Envelope final : public XMLTagHandler {
|
|||||||
void Insert(int point, const EnvPoint &p);
|
void Insert(int point, const EnvPoint &p);
|
||||||
|
|
||||||
/** \brief Return number of points */
|
/** \brief Return number of points */
|
||||||
int GetNumberOfPoints() const;
|
size_t GetNumberOfPoints() const;
|
||||||
|
|
||||||
/** \brief Accessor for points */
|
/** \brief Accessor for points */
|
||||||
const EnvPoint &operator[] (int index) const
|
const EnvPoint &operator[] (int index) const
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include "sndfile.h"
|
#include "sndfile.h"
|
||||||
|
|
||||||
void ComputeLegacySummaryInfo(const wxFileName &fileName,
|
void ComputeLegacySummaryInfo(const wxFileName &fileName,
|
||||||
int summaryLen,
|
size_t summaryLen,
|
||||||
sampleFormat format,
|
sampleFormat format,
|
||||||
SummaryInfo *info,
|
SummaryInfo *info,
|
||||||
bool noRMS,bool Silent,
|
bool noRMS,bool Silent,
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include "../BlockFile.h"
|
#include "../BlockFile.h"
|
||||||
|
|
||||||
void ComputeLegacySummaryInfo(const wxFileName &fileName,
|
void ComputeLegacySummaryInfo(const wxFileName &fileName,
|
||||||
int summaryLen,
|
size_t summaryLen,
|
||||||
sampleFormat format,
|
sampleFormat format,
|
||||||
SummaryInfo *info,
|
SummaryInfo *info,
|
||||||
bool noRMS,bool Silent,
|
bool noRMS,bool Silent,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user