1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-16 15:57:52 +01:00

DirManager.cpp doesn't depend on Clipboard...

... Locate other outstanding DirManagers by other means, a global tracking
array.

This does not yet break any dependency cycles.
This commit is contained in:
Paul Licameli
2019-05-13 21:17:41 -04:00
parent ce27977ff2
commit 9b32fc7a2b
4 changed files with 43 additions and 16 deletions

View File

@@ -359,7 +359,7 @@ void BenchmarkDialog::OnRun( wxCommandEvent & WXUNUSED(event))
HoldPrint(true);
ZoomInfo zoomInfo(0.0, ZoomInfo::GetDefaultZoom());
auto dd = std::make_shared<DirManager>();
auto dd = DirManager::Create();
const auto t = TrackFactory{ dd, &zoomInfo }.NewWaveTrack(int16Sample);
t->SetRate(1);