This commit is contained in:
Paul Licameli 2020-05-18 13:09:06 -04:00
parent ecb65f8c2b
commit 9a7b7c36d8
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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<DirManager> &pDirManager = {} ) const;