mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
RecordingPrefs.cpp does not depend on AudioIO.cpp...
... freeing it from dependency cycles, but no others
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user