From 9a7b7c36d8a0854f3a5f4d0015d9a6530648fa76 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 18 May 2020 13:09:06 -0400 Subject: [PATCH] comments --- src/DirManager.cpp | 2 +- src/WaveTrack.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/DirManager.cpp b/src/DirManager.cpp index 5278ce916..71922a395 100644 --- a/src/DirManager.cpp +++ b/src/DirManager.cpp @@ -400,7 +400,7 @@ DirManager::DirManager() srand(time(NULL)); // Set up local temp subdir - // Previously, Audacity just na med project temp directories "project0", + // Previously, Audacity just named project temp directories "project0", // "project1" and so on. But with the advent of recovery code, we need a // unique name even after a crash. So we create a random project index // and make sure it is not used already. This will not pose any performance diff --git a/src/WaveTrack.h b/src/WaveTrack.h index e870434aa..7d4e2825c 100644 --- a/src/WaveTrack.h +++ b/src/WaveTrack.h @@ -160,6 +160,10 @@ private: // Make another track copying format, rate, color, etc. but containing no // clips + // It is important to pass the correct DirManager (that for the project + // which will own the copy) in the unusual case that a track is copied from + // another project or the clipboard. For copies within one project, the + // default will do. Holder EmptyCopy( const std::shared_ptr &pDirManager = {} ) const;