1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-17 14:11:13 +01:00

"new"->"NEW" in comments, easier to find remaining naked operator new

This commit is contained in:
Paul Licameli
2016-02-13 10:43:16 -05:00
parent 56e7653343
commit 7c4c45a0d5
143 changed files with 451 additions and 451 deletions

View File

@@ -412,17 +412,17 @@ void PaulStretch::set_rap(float newrap)
void PaulStretch::process(float *smps,int nsmps)
{
//add new samples to the pool
//add NEW samples to the pool
if ((smps!=NULL)&&(nsmps!=0)){
if (nsmps>poolsize){
nsmps=poolsize;
}
int nleft=poolsize-nsmps;
//move left the samples from the pool to make room for new samples
//move left the samples from the pool to make room for NEW samples
for (int i=0;i<nleft;i++) in_pool[i]=in_pool[i+nsmps];
//add new samples to the pool
//add NEW samples to the pool
for (int i=0;i<nsmps;i++) in_pool[i+nleft]=smps[i];
}