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:
@@ -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;
|
||||
|
@@ -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; }
|
||||
|
||||
|
Reference in New Issue
Block a user