diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-07-02 01:32:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-07-02 01:32:54 +0100 |
| commit | e6c828cbd577239e7c8e4c532161084a33843a0f (patch) | |
| tree | 2290dcdc341e47bcec5ed9f364be9f457b7bf3c0 /src/wx/gain_calculator_dialog.h | |
| parent | 8c0414a0dec9f444a80fc30c7be3bc82188446d4 (diff) | |
Add support for Datasat AP2x and USL sound processors when converting
fader position to gain. Stop storing a chosen processor in config;
instead, get the user to choose the processor when calculating gains.
Diffstat (limited to 'src/wx/gain_calculator_dialog.h')
| -rw-r--r-- | src/wx/gain_calculator_dialog.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wx/gain_calculator_dialog.h b/src/wx/gain_calculator_dialog.h index e1ed026b8..addc07288 100644 --- a/src/wx/gain_calculator_dialog.h +++ b/src/wx/gain_calculator_dialog.h @@ -18,18 +18,19 @@ */ -#include <wx/wx.h> #include "table_dialog.h" +#include <wx/wx.h> +#include <boost/optional.hpp> class GainCalculatorDialog : public TableDialog { public: explicit GainCalculatorDialog (wxWindow* parent); - float actual_fader () const; - float wanted_fader () const; + boost::optional<float> db_change () const; private: + wxChoice* _processor; wxTextCtrl* _wanted; wxTextCtrl* _actual; }; |
