1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Add (redundant) #include "Experimental.h" in all .cpp files using the symbols

This commit is contained in:
Paul Licameli 2015-08-31 15:50:50 -04:00
parent 1278b9644a
commit 9c483e2e86
37 changed files with 68 additions and 3 deletions

View File

@ -101,6 +101,8 @@ It handles initialization and termination by subclassing wxApp.
#include "import/Import.h" #include "import/Import.h"
#include "Experimental.h"
#if defined(EXPERIMENTAL_CRASH_REPORT) #if defined(EXPERIMENTAL_CRASH_REPORT)
#include <wx/debugrpt.h> #include <wx/debugrpt.h>
#include <wx/evtloop.h> #include <wx/evtloop.h>

View File

@ -26,6 +26,7 @@ Provides thread-safe logging based on the wxWidgets log facility.
#include <wx/settings.h> #include <wx/settings.h>
#include "../images/AudacityLogoAlpha.xpm" #include "../images/AudacityLogoAlpha.xpm"
#include "Experimental.h"
// //
// AudacityLogger class // AudacityLogger class

View File

@ -15,6 +15,8 @@
#include "DeviceChange.h" #include "DeviceChange.h"
#include "Experimental.h"
#if defined(EXPERIMENTAL_DEVICE_CHANGE_HANDLER) #if defined(EXPERIMENTAL_DEVICE_CHANGE_HANDLER)
#if defined(HAVE_DEVICE_CHANGE) #if defined(HAVE_DEVICE_CHANGE)

View File

@ -37,6 +37,8 @@
#include "DeviceManager.h" #include "DeviceManager.h"
#include "toolbars/DeviceToolBar.h" #include "toolbars/DeviceToolBar.h"
#include "Experimental.h"
DeviceManager DeviceManager::dm; DeviceManager DeviceManager::dm;
/// Gets the singleton instance /// Gets the singleton instance

View File

@ -36,7 +36,6 @@ count down so that we track how many times the event happens.
#include <wx/stopwatch.h> #include <wx/stopwatch.h>
#include "Diags.h" #include "Diags.h"
#include "Experimental.h"
static wxStopWatch MasterWatch; static wxStopWatch MasterWatch;
static bool bStopWatchStarted = false; static bool bStopWatchStarted = false;

View File

@ -46,6 +46,8 @@
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include "Experimental.h"
static int **gFFTBitTable = NULL; static int **gFFTBitTable = NULL;
static const int MaxFastBits = 16; static const int MaxFastBits = 16;

View File

@ -26,6 +26,8 @@ License: GPL v2. See License.txt.
#include <wx/file.h> #include <wx/file.h>
#include "Experimental.h"
#if !defined(USE_FFMPEG) #if !defined(USE_FFMPEG)
/// FFmpeg support may or may not be compiled in, /// FFmpeg support may or may not be compiled in,
/// but Preferences dialog requires this function nevertheless /// but Preferences dialog requires this function nevertheless

View File

@ -80,6 +80,8 @@ and in the spectrogram spectral selection.
#include "WaveTrack.h" #include "WaveTrack.h"
#include "Experimental.h"
DEFINE_EVENT_TYPE(EVT_FREQWINDOW_RECALC); DEFINE_EVENT_TYPE(EVT_FREQWINDOW_RECALC);
enum { enum {

View File

@ -9,8 +9,6 @@
**********************************************************************/ **********************************************************************/
#include "Experimental.h"
#include "LyricsWindow.h" #include "LyricsWindow.h"
#include "Lyrics.h" #include "Lyrics.h"
#include "AudioIO.h" #include "AudioIO.h"

View File

@ -47,6 +47,8 @@ i.e. an alternative to the usual interface, for Audacity.
#include <wx/arrimpl.cpp> #include <wx/arrimpl.cpp>
#include "Experimental.h"
#define initFnName "ExtensionModuleInit" #define initFnName "ExtensionModuleInit"
#define versionFnName "GetVersionString" #define versionFnName "GetVersionString"
#define scriptFnName "RegScriptServerFunc" #define scriptFnName "RegScriptServerFunc"

View File

@ -33,6 +33,8 @@
#include "Prefs.h" #include "Prefs.h"
#include "effects/TimeWarper.h" #include "effects/TimeWarper.h"
#include "Experimental.h"
#ifdef SONIFY #ifdef SONIFY
#include "portmidi.h" #include "portmidi.h"

View File

@ -48,6 +48,8 @@
#include <wx/arrimpl.cpp> #include <wx/arrimpl.cpp>
#include "Experimental.h"
WX_DECLARE_STRING_HASH_MAP(wxArrayString, ProviderMap); WX_DECLARE_STRING_HASH_MAP(wxArrayString, ProviderMap);
// ============================================================================ // ============================================================================

View File

@ -30,6 +30,8 @@
#include "WaveTrack.h" #include "WaveTrack.h"
#include "widgets/Ruler.h" #include "widgets/Ruler.h"
#include "Experimental.h"
// Globals, so that we remember settings from session to session // Globals, so that we remember settings from session to session
static wxPrintData *gPrintData = NULL; static wxPrintData *gPrintData = NULL;
static wxPageSetupData *gPageSetupData = NULL; static wxPageSetupData *gPageSetupData = NULL;

View File

@ -12,6 +12,7 @@ Paul Licameli
#include "SelectedRegion.h" #include "SelectedRegion.h"
#include "xml/XMLWriter.h" #include "xml/XMLWriter.h"
#include "Experimental.h"
const wxChar *SelectedRegion::sDefaultT0Name = wxT("selStart"); const wxChar *SelectedRegion::sDefaultT0Name = wxT("selStart");
const wxChar *SelectedRegion::sDefaultT1Name = wxT("selEnd"); const wxChar *SelectedRegion::sDefaultT1Name = wxT("selEnd");

View File

@ -18,6 +18,8 @@
#include "Spectrum.h" #include "Spectrum.h"
#include "FFT.h" #include "FFT.h"
#include "Experimental.h"
bool ComputeSpectrum(const float * data, int width, bool ComputeSpectrum(const float * data, int width,
int windowSize, int windowSize,
double WXUNUSED(rate), float *output, double WXUNUSED(rate), float *output,

View File

@ -26,6 +26,8 @@ and TimeTrack.
#include "Project.h" #include "Project.h"
#include "DirManager.h" #include "DirManager.h"
#include "Experimental.h"
#ifdef _MSC_VER #ifdef _MSC_VER
//Disable truncation warnings //Disable truncation warnings
#pragma warning( disable : 4786 ) #pragma warning( disable : 4786 )

View File

@ -183,6 +183,8 @@ audio tracks.
#include "Theme.h" #include "Theme.h"
#include "AllThemeResources.h" #include "AllThemeResources.h"
#include "Experimental.h"
#undef PROFILE_WAVEFORM #undef PROFILE_WAVEFORM
#ifdef PROFILE_WAVEFORM #ifdef PROFILE_WAVEFORM
#ifdef __WXMSW__ #ifdef __WXMSW__

View File

@ -38,6 +38,9 @@
#include "prefs/SpectrogramSettings.h" #include "prefs/SpectrogramSettings.h"
#include <wx/listimpl.cpp> #include <wx/listimpl.cpp>
#include "Experimental.h"
WX_DEFINE_LIST(WaveClipList); WX_DEFINE_LIST(WaveClipList);
class WaveCache { class WaveCache {

View File

@ -55,6 +55,8 @@ Track classes.
#include "prefs/SpectrumPrefs.h" #include "prefs/SpectrumPrefs.h"
#include "prefs/WaveformPrefs.h" #include "prefs/WaveformPrefs.h"
#include "Experimental.h"
using std::max; using std::max;
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY #ifdef EXPERIMENTAL_OUTPUT_DISPLAY

View File

@ -115,6 +115,8 @@ CommandManager. It holds the callback for one command.
#include <gtk/gtk.h> #include <gtk/gtk.h>
#endif #endif
#include "../Experimental.h"
// Shared by all projects // Shared by all projects
static class CommandManagerEventMonitor : public wxEventFilter static class CommandManagerEventMonitor : public wxEventFilter
{ {

View File

@ -54,6 +54,8 @@ greater use in future.
#include <Cocoa/Cocoa.h> #include <Cocoa/Cocoa.h>
#endif #endif
#include "../Experimental.h"
static const int kDummyID = 20000; static const int kDummyID = 20000;
static const int kSaveAsID = 20001; static const int kSaveAsID = 20001;
static const int kImportID = 20002; static const int kImportID = 20002;

View File

@ -57,6 +57,8 @@
#include "ChangeTempo.h" #include "ChangeTempo.h"
#endif #endif
#include "../Experimental.h"
// //
// Include the SoundTouch effects, if requested // Include the SoundTouch effects, if requested
// //

View File

@ -29,6 +29,7 @@
#include "../ShuttleGui.h" #include "../ShuttleGui.h"
#include "../widgets/valnum.h" #include "../widgets/valnum.h"
#include "../Experimental.h"
enum enum
{ {

View File

@ -28,6 +28,8 @@
#include "../ShuttleGui.h" #include "../ShuttleGui.h"
#include "../widgets/valnum.h" #include "../widgets/valnum.h"
#include "../Experimental.h"
enum enum
{ {
ID_Freq = 10000, ID_Freq = 10000,

View File

@ -68,6 +68,8 @@ effects from this one class.
#include <sstream> #include <sstream>
#include <float.h> #include <float.h>
#include "../../Experimental.h"
enum enum
{ {
ID_Editor = 10000, ID_Editor = 10000,

View File

@ -31,6 +31,8 @@ Licensed under the GNU General Public License v2 or later
#include <wx/window.h> #include <wx/window.h>
#endif #endif
#include "../Experimental.h"
#define DESC _("FFmpeg-compatible files") #define DESC _("FFmpeg-compatible files")

View File

@ -29,6 +29,8 @@
#include "EffectsPrefs.h" #include "EffectsPrefs.h"
#include "../Experimental.h"
EffectsPrefs::EffectsPrefs(wxWindow * parent) EffectsPrefs::EffectsPrefs(wxWindow * parent)
: PrefsPanel(parent, _("Effects")) : PrefsPanel(parent, _("Effects"))
{ {

View File

@ -29,6 +29,8 @@
#include "GUISettings.h" #include "GUISettings.h"
#include "../Experimental.h"
GUIPrefs::GUIPrefs(wxWindow * parent) GUIPrefs::GUIPrefs(wxWindow * parent)
: PrefsPanel(parent, _("Interface")) : PrefsPanel(parent, _("Interface"))
{ {

View File

@ -29,6 +29,8 @@ MP3 and FFmpeg encoding libraries.
#include "LibraryPrefs.h" #include "LibraryPrefs.h"
#include "../Experimental.h"
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#define ID_MP3_FIND_BUTTON 7001 #define ID_MP3_FIND_BUTTON 7001

View File

@ -30,6 +30,8 @@
#include "../Prefs.h" #include "../Prefs.h"
#include "../ShuttleGui.h" #include "../ShuttleGui.h"
#include "../Experimental.h"
using std::min; using std::min;
RecordingPrefs::RecordingPrefs(wxWindow * parent) RecordingPrefs::RecordingPrefs(wxWindow * parent)

View File

@ -27,6 +27,8 @@ Paul Licameli
#include <cmath> #include <cmath>
#include "../Experimental.h"
SpectrogramSettings::Globals::Globals() SpectrogramSettings::Globals::Globals()
{ {
LoadPrefs(); LoadPrefs();

View File

@ -30,6 +30,8 @@
#include <algorithm> #include <algorithm>
#include "../Experimental.h"
SpectrumPrefs::SpectrumPrefs(wxWindow * parent, WaveTrack *wt) SpectrumPrefs::SpectrumPrefs(wxWindow * parent, WaveTrack *wt)
: PrefsPanel(parent, wt ? _("Spectrogram Settings") : _("Spectrograms")) : PrefsPanel(parent, wt ? _("Spectrogram Settings") : _("Spectrograms"))
, mWt(wt) , mWt(wt)

View File

@ -28,6 +28,8 @@
#include "../ShuttleGui.h" #include "../ShuttleGui.h"
#include "../WaveTrack.h" #include "../WaveTrack.h"
#include "../Experimental.h"
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
TracksPrefs::TracksPrefs(wxWindow * parent) TracksPrefs::TracksPrefs(wxWindow * parent)

View File

@ -56,6 +56,8 @@
#include "../UndoManager.h" #include "../UndoManager.h"
#include "../widgets/AButton.h" #include "../widgets/AButton.h"
#include "../Experimental.h"
IMPLEMENT_CLASS(EditToolBar, ToolBar); IMPLEMENT_CLASS(EditToolBar, ToolBar);
const int BUTTON_WIDTH = 27; const int BUTTON_WIDTH = 27;

View File

@ -55,6 +55,8 @@ with changes in the SpectralSelectionBar.
#include "../SelectedRegion.h" #include "../SelectedRegion.h"
#include "../widgets/NumericTextCtrl.h" #include "../widgets/NumericTextCtrl.h"
#include "../Experimental.h"
#ifdef EXPERIMENTAL_SPECTRAL_EDITING #ifdef EXPERIMENTAL_SPECTRAL_EDITING
IMPLEMENT_CLASS(SpectralSelectionBar, ToolBar); IMPLEMENT_CLASS(SpectralSelectionBar, ToolBar);

View File

@ -68,6 +68,8 @@
#include "../widgets/AButton.h" #include "../widgets/AButton.h"
#include "../widgets/Grabber.h" #include "../widgets/Grabber.h"
#include "../Experimental.h"
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// Methods for ToolFrame /// Methods for ToolFrame
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////

View File

@ -58,6 +58,8 @@
#include "../Theme.h" #include "../Theme.h"
#include "../widgets/AButton.h" #include "../widgets/AButton.h"
#include "../Experimental.h"
IMPLEMENT_CLASS(ToolsToolBar, ToolBar); IMPLEMENT_CLASS(ToolsToolBar, ToolBar);
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////