1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Keep EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT compilable...

... while not reintroducing bad dependencies, which explains the movement
of the definition of some constants
This commit is contained in:
Paul Licameli
2019-07-02 12:28:25 -04:00
parent a046d9906c
commit 6adb2abc98
4 changed files with 15 additions and 9 deletions

View File

@@ -173,7 +173,7 @@ class MeterPanel final : public MeterPanelBase, private PrefsListener
float GetMaxPeak() const override;
bool IsClipping() const;
bool IsClipping() const override;
void StartMonitoring();
void StopMonitoring();
@@ -183,7 +183,7 @@ class MeterPanel final : public MeterPanelBase, private PrefsListener
State SaveState();
void RestoreState(const State &state);
int GetDBRange() const { return mDB ? mDBRange : -1; }
int GetDBRange() const override { return mDB ? mDBRange : -1; }
private:
void UpdatePrefs() override;

View File

@@ -27,6 +27,9 @@ public:
virtual bool IsMeterDisabled() const = 0;
virtual float GetMaxPeak() const = 0;
virtual bool IsClipping() const = 0;
virtual int GetDBRange() const = 0;
bool AcceptsFocus() const override { return s_AcceptsFocus; }
bool AcceptsFocusFromKeyboard() const override { return true; }