mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 14:43:57 +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:
@@ -1440,7 +1440,7 @@ sampleCount AudioUnitEffect::RealtimeProcess(int group,
|
||||
|
||||
for (int c = 0; c < mAudioIns; c++)
|
||||
{
|
||||
for (sampleCount s = 0; s < numSamples; s++)
|
||||
for (decltype(numSamples) s = 0; s < numSamples; s++)
|
||||
{
|
||||
mMasterIn[c][s] += inbuf[c][s];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user