RecordingPrefs.cpp does not depend on AudioIO.cpp...
... freeing it from dependency cycles, but no others
This commit is contained in:
parent
4bdcf3152f
commit
519a988467
|
@ -461,6 +461,7 @@ TimeTrack and AudioIOListener and whether the playback is looped.
|
|||
|
||||
#include "effects/EffectManager.h"
|
||||
#include "prefs/QualityPrefs.h"
|
||||
#include "prefs/RecordingPrefs.h"
|
||||
#include "toolbars/ControlToolBar.h"
|
||||
#include "widgets/Meter.h"
|
||||
#include "widgets/ErrorDialog.h"
|
||||
|
|
|
@ -84,15 +84,6 @@ class AudioIOListener;
|
|||
#define MAX_MIDI_BUFFER_SIZE 5000
|
||||
#define DEFAULT_SYNTH_LATENCY 5
|
||||
|
||||
#define DEFAULT_LATENCY_DURATION 100.0
|
||||
#define DEFAULT_LATENCY_CORRECTION -130.0
|
||||
|
||||
#define AUDIO_PRE_ROLL_KEY (wxT("/AudioIO/PreRoll"))
|
||||
#define DEFAULT_PRE_ROLL_SECONDS 5.0
|
||||
|
||||
#define AUDIO_ROLL_CROSSFADE_KEY (wxT("/AudioIO/Crossfade"))
|
||||
#define DEFAULT_ROLL_CROSSFADE_MS 10.0
|
||||
|
||||
#ifdef EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT
|
||||
#define AILA_DEF_TARGET_PEAK 92
|
||||
#define AILA_DEF_DELTA_PEAK 2
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../TrackPanel.h"
|
||||
#include "../UndoManager.h"
|
||||
#include "../WaveClip.h"
|
||||
#include "../prefs/RecordingPrefs.h"
|
||||
#include "../prefs/TracksPrefs.h"
|
||||
#include "../toolbars/ControlToolBar.h"
|
||||
#include "../toolbars/TranscriptionToolBar.h"
|
||||
|
|
|
@ -25,6 +25,8 @@ other settings.
|
|||
#include "../Audacity.h"
|
||||
#include "DevicePrefs.h"
|
||||
|
||||
#include "RecordingPrefs.h"
|
||||
|
||||
#include <wx/defs.h>
|
||||
|
||||
#include <wx/choice.h>
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include <wx/textctrl.h>
|
||||
#include <algorithm>
|
||||
|
||||
#include "../AudioIO.h"
|
||||
#include "../prefs/GUISettings.h"
|
||||
#include "../Prefs.h"
|
||||
#include "../ShuttleGui.h"
|
||||
|
|
|
@ -21,6 +21,15 @@ class ShuttleGui;
|
|||
|
||||
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Recording") }
|
||||
|
||||
#define DEFAULT_LATENCY_DURATION 100.0
|
||||
#define DEFAULT_LATENCY_CORRECTION -130.0
|
||||
|
||||
#define AUDIO_PRE_ROLL_KEY (wxT("/AudioIO/PreRoll"))
|
||||
#define DEFAULT_PRE_ROLL_SECONDS 5.0
|
||||
|
||||
#define AUDIO_ROLL_CROSSFADE_KEY (wxT("/AudioIO/Crossfade"))
|
||||
#define DEFAULT_ROLL_CROSSFADE_MS 10.0
|
||||
|
||||
class RecordingPrefs final : public PrefsPanel
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue