1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-21 13:45:47 +01:00

some uses of size_t

This commit is contained in:
Paul Licameli
2016-08-24 10:43:43 -04:00
parent bf66e4410a
commit ee5a0db9ff
5 changed files with 8 additions and 7 deletions

View File

@@ -1429,7 +1429,7 @@ bool WaveTrack::InsertSilence(double t, double len)
bool WaveTrack::Disjoin(double t0, double t1)
{
sampleCount minSamples = TimeToLongSamples( WAVETRACK_MERGE_POINT_TOLERANCE );
sampleCount maxAtOnce = 1048576;
size_t maxAtOnce = 1048576;
float *buffer = new float[ maxAtOnce ];
Regions regions;