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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user