diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-12 21:13:14 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-12 21:14:50 +0200 |
commit | d64ca9be08331756e936018ea4d06404faa2ca90 (patch) | |
tree | 70b93c7a02c207e99ac88c1e8e555bba2bf22ba0 /libs/ardour/ardour | |
parent | 7a489dd5532ae53ab943adc1f38c1bc24b4474c9 (diff) |
Properly expose "well known" comp_redux output.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/route.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/stripable.h | 3 | ||||
-rw-r--r-- | libs/ardour/ardour/vca.h | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index 3ac2d6dda6..9313df2f0c 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -520,7 +520,7 @@ public: boost::shared_ptr<AutomationControl> comp_speed_controllable () const; boost::shared_ptr<AutomationControl> comp_mode_controllable () const; boost::shared_ptr<AutomationControl> comp_makeup_controllable () const; - boost::shared_ptr<AutomationControl> comp_redux_controllable () const; + boost::shared_ptr<ReadOnlyControl> comp_redux_controllable () const; /* @param mode must be supplied by the comp_mode_controllable(). All other values * result in undefined behaviour diff --git a/libs/ardour/ardour/stripable.h b/libs/ardour/ardour/stripable.h index 099a048016..2484c26345 100644 --- a/libs/ardour/ardour/stripable.h +++ b/libs/ardour/ardour/stripable.h @@ -37,6 +37,7 @@ class StripableColorDialog; namespace ARDOUR { class AutomationControl; +class ReadOnlyControl; class GainControl; class PeakMeter; class SoloControl; @@ -144,7 +145,7 @@ class LIBARDOUR_API Stripable : public SessionObject { virtual boost::shared_ptr<AutomationControl> comp_speed_controllable () const = 0; virtual boost::shared_ptr<AutomationControl> comp_mode_controllable () const = 0; virtual boost::shared_ptr<AutomationControl> comp_makeup_controllable () const = 0; - virtual boost::shared_ptr<AutomationControl> comp_redux_controllable () const = 0; + virtual boost::shared_ptr<ReadOnlyControl> comp_redux_controllable () const = 0; /* @param mode must be supplied by the comp_mode_controllable(). All other values * result in undefined behaviour diff --git a/libs/ardour/ardour/vca.h b/libs/ardour/ardour/vca.h index 63ba55f5b4..0977001927 100644 --- a/libs/ardour/ardour/vca.h +++ b/libs/ardour/ardour/vca.h @@ -132,7 +132,7 @@ class LIBARDOUR_API VCA : public Stripable, boost::shared_ptr<AutomationControl> comp_speed_controllable () const { return boost::shared_ptr<AutomationControl>(); } boost::shared_ptr<AutomationControl> comp_mode_controllable () const { return boost::shared_ptr<AutomationControl>(); } boost::shared_ptr<AutomationControl> comp_makeup_controllable () const { return boost::shared_ptr<AutomationControl>(); } - boost::shared_ptr<AutomationControl> comp_redux_controllable () const { return boost::shared_ptr<AutomationControl>(); } + boost::shared_ptr<ReadOnlyControl> comp_redux_controllable () const { return boost::shared_ptr<ReadOnlyControl>(); } std::string comp_mode_name (uint32_t mode) const { return std::string(); } std::string comp_speed_name (uint32_t mode) const { return std::string(); } boost::shared_ptr<AutomationControl> send_level_controllable (uint32_t n) const { return boost::shared_ptr<AutomationControl>(); } |