mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 08:06:32 +01:00
"new"->"NEW" in comments, easier to find remaining naked operator new
This commit is contained in:
@@ -506,7 +506,7 @@ int FFmpegImportFileHandle::Import(TrackFactory *trackFactory,
|
||||
break;
|
||||
}
|
||||
|
||||
// There is a possibility that number of channels will change over time, but we do not have WaveTracks for new channels. Remember the number of channels and stick to it.
|
||||
// There is a possibility that number of channels will change over time, but we do not have WaveTracks for NEW channels. Remember the number of channels and stick to it.
|
||||
mScs[s]->m_initialchannels = mScs[s]->m_stream->codec->channels;
|
||||
mChannels[s] = new WaveTrack *[mScs[s]->m_stream->codec->channels];
|
||||
int c;
|
||||
@@ -682,7 +682,7 @@ int FFmpegImportFileHandle::Import(TrackFactory *trackFactory,
|
||||
*outNumTracks += mScs[s]->m_initialchannels;
|
||||
}
|
||||
|
||||
// Create new tracks
|
||||
// Create NEW tracks
|
||||
*outTracks = new Track *[*outNumTracks];
|
||||
|
||||
// Copy audio from mChannels to newly created tracks (destroying mChannels elements in process)
|
||||
|
||||
Reference in New Issue
Block a user