diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-18 08:47:45 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-18 08:47:45 -0500 |
commit | b2b736d596123de52dac700db769ac4eb576da5c (patch) | |
tree | c800fa5fd3a84d3c7b0749ba3edb5b9fd89629ed /libs/ardour/ardour/amp.h | |
parent | ac9219a3c884b69352ff5ab0d13f30fb15cf8e6e (diff) |
tweaks for the monitor section. refactoring of some buttons, using new ArdourKnob instead of VolumeController. New ArdourDisplay shows a controllables user value, and provides support for preset values (hardcoded at present). Further refactoring to come, so that ArdourWidgets are derived from a common class. Controllable now has more responsibility for scaling between internal, user, and interface (knob percent) values. This also needs more refactoring and might have some unintended consequences. tested with audio and nothing seems amiss, yet.
Diffstat (limited to 'libs/ardour/ardour/amp.h')
-rw-r--r-- | libs/ardour/ardour/amp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h index f6a15666e9..c0e9dbc5b5 100644 --- a/libs/ardour/ardour/amp.h +++ b/libs/ardour/ardour/amp.h @@ -90,6 +90,8 @@ public: double internal_to_interface (double) const; double interface_to_internal (double) const; double internal_to_user (double) const; + double user_to_internal (double) const; + std::string get_user_string () const; Amp* _amp; }; |