mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
DirManager.cpp does not depend on Sequence.cpp...
... This does not yet break any dependency cycles
This commit is contained in:
@@ -340,10 +340,9 @@ bool RecordingRecoveryHandler::HandleXMLTag(const wxChar *tag,
|
||||
const auto &dirManager = mProject->GetDirManager();
|
||||
dirManager->SetLoadingFormat(seq->GetSampleFormat());
|
||||
|
||||
BlockArray array;
|
||||
array.resize(1);
|
||||
dirManager->SetLoadingTarget(&array, 0);
|
||||
auto &blockFile = array[0].f;
|
||||
BlockFilePtr blockFile;
|
||||
dirManager->SetLoadingTarget(
|
||||
[&]() -> BlockFilePtr& { return blockFile; } );
|
||||
|
||||
if (!dirManager->HandleXMLTag(tag, attrs) || !blockFile)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user