1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-24 16:20:05 +02:00

Turn on EXPERIMENTAL_LINKING apropos bug 177.

Also, some clean-up and moving related items closer together.
This commit is contained in:
v.audacity 2010-07-24 23:43:53 +00:00
parent 8c51e56248
commit 908b0b2d35

View File

@ -7,9 +7,9 @@
Dominic Mazzoni Dominic Mazzoni
James Crook James Crook
Used for includes and #defines for experimental features. Used for #includes and #defines for experimental features.
When the features become mainstream the include files will When the features become mainstream the #include files will
move out of here and into the files which need them. The move out of here and into the files which need them. The
#defines will then be retired. #defines will then be retired.
@ -21,25 +21,24 @@
- Modular architecture. - Modular architecture.
Add #defines in here for the new features, and make your code Add #defines in here for the new features, and make your code
conditional on those #defines. conditional on those #defines.
All the #defines are positive, i.e., when defined,
they enable the feature.
**********************************************************************/ **********************************************************************/
#ifndef __EXPERIMENTAL__ #ifndef __EXPERIMENTAL__
#define __EXPERIMENTAL__ #define __EXPERIMENTAL__
//uncomment the next line to enable the feature to link audio tracks to a label track // feature to link audio tracks to a label track
//#define EXPERIMENTAL_LINKING #define EXPERIMENTAL_LINKING
//Uncomment the next #define to enable experimental features. // experimental theming
#define EXPERIMENTAL_FEATURES
// Comment out the next two lines if you want to disable 'experimental theming'
// Work in progress, June-2008. // Work in progress, June-2008.
//#define EXPERIMENTAL_THEMING //#define EXPERIMENTAL_THEMING
#if IS_BETA #if IS_BETA
//August 2009 - Theming not locked down enough enough for a stable release. //August 2009 - Theming not locked down enough enough for a stable release.
// we're doing betas which are leading up to an RC. //#define EXPERIMENTAL_THEME_PREFS
//#define EXPERIMENTAL_THEME_PREFS
#endif #endif
//Next line enables Mic monitoring at times when it was previously off. //Next line enables Mic monitoring at times when it was previously off.
@ -94,14 +93,16 @@
// Enables MIDI Output of NoteTrack (MIDI) data during playback // Enables MIDI Output of NoteTrack (MIDI) data during playback
// USE_MIDI must be defined in order for EXPERIMENTAL_MIDI_OUT to work // USE_MIDI must be defined in order for EXPERIMENTAL_MIDI_OUT to work
#ifdef USE_MIDI #ifdef USE_MIDI
//#define EXPERIMENTAL_MIDI_OUT //#define EXPERIMENTAL_MIDI_OUT
#endif #endif
// USE_MIDI must be defined in order for EXPERIMENTAL_SCOREALIGN to work // USE_MIDI must be defined in order for EXPERIMENTAL_SCOREALIGN to work
#ifdef USE_MIDI #ifdef USE_MIDI
//#define EXPERIMENTAL_SCOREALIGN //#define EXPERIMENTAL_SCOREALIGN
#endif #endif
// experimental features
#define EXPERIMENTAL_FEATURES
#ifdef EXPERIMENTAL_FEATURES #ifdef EXPERIMENTAL_FEATURES
// The first experimental feature is a notebook that adds // The first experimental feature is a notebook that adds
// a tabbed divider to the project. // a tabbed divider to the project.
@ -130,13 +131,13 @@
//If you want any of these files, ask JKC. They are not //If you want any of these files, ask JKC. They are not
//yet checked in to Audacity SVN as of 12-Feb-2010 //yet checked in to Audacity SVN as of 12-Feb-2010
#ifdef EXPERIMENTAL_NOTEBOOK #ifdef EXPERIMENTAL_NOTEBOOK
#include "widgets/GuiFactory.h" #include "widgets/GuiFactory.h"
#include "widgets/APanel.h" #include "widgets/APanel.h"
extern void AddPages( AudacityProject * pProj, GuiFactory & Factory, wxNotebook * pNotebook ); extern void AddPages( AudacityProject * pProj, GuiFactory & Factory, wxNotebook * pNotebook );
#endif #endif
#ifdef EXPERIMENTAL_NYQUIST_INSPECTOR #ifdef EXPERIMENTAL_NYQUIST_INSPECTOR
#include "NyquistAdapter.h" #include "NyquistAdapter.h"
#endif #endif
#ifdef EXPERIMENTAL_AUDACITY_TESTER #ifdef EXPERIMENTAL_AUDACITY_TESTER