1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-22 16:41:18 +01:00

Correct some comments.

Rename method for consistency.
This commit is contained in:
v.audacity
2010-08-08 00:26:07 +00:00
parent 56adffdce6
commit c7826bcdf9
3 changed files with 6 additions and 6 deletions

View File

@@ -462,13 +462,13 @@ bool WaveTrack::ClearAndAddCutLine(double t0, double t1)
//
// ClearAndPaste() is a specialized version of HandleClear()
// followed by HandlePaste() and is used mostly by effects that
// followed by Paste() and is used mostly by effects that
// can't replace track data directly using Get()/Set().
//
// HandleClear() removes any cut/split lines lines with the
// cleared range, but, in most cases, effects want to preserve
// the existing cut/split lines, so they are saved before the
// HandleClear()/HandlePaste() and restored after.
// HandleClear()/Paste() and restored after.
//
// If the pasted track overlaps two or more clips, then it will
// be pasted with visible split lines. Normally, effects do not
@@ -507,7 +507,7 @@ bool WaveTrack::ClearAndPaste(double t0, // Start of time to clear
t1 = LongSamplesToTime(TimeToLongSamples(t1));
// Save the cut/split lines whether preserving or not since merging
// needs to know if a clip boundary is being crossed since HandlePaste()
// needs to know if a clip boundary is being crossed since Paste()
// will add split lines around the pasted clip if so.
for (ic = GetClipIterator(); ic; ic = ic->GetNext()) {
double st;