From c3a504390b446b10aad4472ebf1949837b9f3429 Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Wed, 11 Jul 2012 06:18:19 +0000 Subject: [PATCH] http://bugzilla.audacityteam.org/show_bug.cgi?id=545 (P2) Remove crash-prone "Audio Cache" feature. --- src/Experimental.h | 2 +- src/prefs/DirectoriesPrefs.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Experimental.h b/src/Experimental.h index 50fea66c0..9f0b06c7c 100644 --- a/src/Experimental.h +++ b/src/Experimental.h @@ -103,7 +103,7 @@ #endif // experimental features -#define EXPERIMENTAL_FEATURES +#define EXPERIMENTAL_FEATURES // ANSWER ME: EXPERIMENTAL within EXPERIMENTAL? #ifdef EXPERIMENTAL_FEATURES // The first experimental feature is a notebook that adds // a tabbed divider to the project. diff --git a/src/prefs/DirectoriesPrefs.cpp b/src/prefs/DirectoriesPrefs.cpp index 42235f15d..f7b23e4c3 100644 --- a/src/prefs/DirectoriesPrefs.cpp +++ b/src/prefs/DirectoriesPrefs.cpp @@ -100,6 +100,9 @@ void DirectoriesPrefs::PopulateOrExchange(ShuttleGui & S) } S.EndStatic(); +#ifdef DEPRECATED_AUDIO_CACHE + //vvvvv If confirmed deprecated by version 2.0.2 release, remove this code and the code it affects. + // See http://bugzilla.audacityteam.org/show_bug.cgi?id=545 S.StartStatic(_("Audio cache")); { S.TieCheckBox(_("Play and/or record using &RAM (useful for slow drives)"), @@ -118,6 +121,7 @@ void DirectoriesPrefs::PopulateOrExchange(ShuttleGui & S) S.AddVariableText(_("If the available system memory falls below this value, audio will no longer\nbe cached in memory and will be written to disk."))->Wrap(600); } S.EndStatic(); +#endif // DEPRECATED_AUDIO_CACHE } void DirectoriesPrefs::OnChooseTempDir(wxCommandEvent & e)