mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
Remove many mentions of sampleCount with auto and decltype...
... This makes much code agnostic about how other things (functions and arguments) are typed. Many of these neeed to become size_t instead of sampleCount.
This commit is contained in:
@@ -119,7 +119,7 @@ bool BlockGenerator::GenerateTrack(WaveTrack *tmp,
|
||||
{
|
||||
bool bGoodResult = true;
|
||||
numSamples = track.TimeToLongSamples(GetDuration());
|
||||
sampleCount i = 0;
|
||||
decltype(numSamples) i = 0;
|
||||
float *data = new float[tmp->GetMaxBlockSize()];
|
||||
|
||||
while ((i < numSamples) && bGoodResult) {
|
||||
|
||||
Reference in New Issue
Block a user