1
0
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:
Paul Licameli
2019-05-15 10:29:30 -04:00
parent 4bdcf3152f
commit 519a988467
6 changed files with 13 additions and 10 deletions

View File

@@ -25,6 +25,8 @@ other settings.
#include "../Audacity.h"
#include "DevicePrefs.h"
#include "RecordingPrefs.h"
#include <wx/defs.h>
#include <wx/choice.h>

View File

@@ -27,7 +27,6 @@
#include <wx/textctrl.h>
#include <algorithm>
#include "../AudioIO.h"
#include "../prefs/GUISettings.h"
#include "../Prefs.h"
#include "../ShuttleGui.h"

View File

@@ -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: