1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-06 19:52:19 +01:00
Remove crash-prone "Audio Cache" feature.
This commit is contained in:
v.audacity
2012-07-18 01:18:59 +00:00
parent 67b9e6bc2d
commit a42f5b45cb
4 changed files with 12 additions and 3 deletions

View File

@@ -596,6 +596,8 @@ bool SimpleBlockFile::GetNeedWriteCacheToDisk()
bool SimpleBlockFile::GetCache()
{
#ifdef DEPRECATED_AUDIO_CACHE
// See http://bugzilla.audacityteam.org/show_bug.cgi?id=545.
bool cacheBlockFiles = false;
gPrefs->Read(wxT("/Directories/CacheBlockFiles"), &cacheBlockFiles);
if (!cacheBlockFiles)
@@ -607,6 +609,9 @@ bool SimpleBlockFile::GetCache()
}
lowMem <<= 20;
return (GetFreeMemory() > lowMem);
#else
return false;
#endif
}
// Indentation settings for Vim and Emacs and unique identifier for Arch, a