1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 04:01:54 +01:00

Bug 536 - OD computation stalls if applying effect before aliased waveform computation completes - and subsequent crash

Fixed by ensuring new imports now always copy data in.  The 'Projects' preferences page is no longer needed.  There is one fewer warnings pref.  The relevant import pref is gone.  Importing of wave data no longer offers the option of working by reference.

I have kept the menu item 'Check Dependencies' for now, as it gives a way for a user to convert an old by-reference audacity project to a self-contained one.  The message for self-contained projects has been updated.
This commit is contained in:
James Crook
2019-07-29 19:04:30 +01:00
parent 0bd1beae9a
commit 39f054cac3
7 changed files with 38 additions and 1 deletions

View File

@@ -120,12 +120,14 @@ auto ProjectFileManager::ReadProjectFile( const FilePath &fileName )
XMLFileReader xmlFile;
#ifdef EXPERIMENTAL_OD_DATA
// 'Lossless copy' projects have dependencies. We need to always copy-in
// these dependencies when converting to a normal project.
wxString oldAction =
gPrefs->Read(wxT("/FileFormats/CopyOrEditUncompressedData"), wxT("copy"));
bool oldAsk =
gPrefs->ReadBool(wxT("/Warnings/CopyOrEditUncompressedDataAsk"), true);
if (oldAction != wxT("copy"))
gPrefs->Write(wxT("/FileFormats/CopyOrEditUncompressedData"), wxT("copy"));
if (oldAsk)
@@ -140,6 +142,7 @@ auto ProjectFileManager::ReadProjectFile( const FilePath &fileName )
gPrefs->Write(wxT("/Warnings/CopyOrEditUncompressedDataAsk"), (long) true);
gPrefs->Flush();
} );
#endif
bool bParseSuccess = xmlFile.Parse(&projectFileIO, fileName);