diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-27 18:36:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-27 18:36:20 +0100 |
commit | dd9e0e49a016a408b7a6506282a86584e76a2715 (patch) | |
tree | 2adb13c31a33ef60962501df3715eb5e03c868dd /libs/ardour/ardour/amp.h | |
parent | 47922c5d19736c3d1fc8eeee7ca8a83561ac268b (diff) |
proper display name for Monitor Processor
Diffstat (limited to 'libs/ardour/ardour/amp.h')
-rw-r--r-- | libs/ardour/ardour/amp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h index 7cde853155..e8445c4853 100644 --- a/libs/ardour/ardour/amp.h +++ b/libs/ardour/ardour/amp.h @@ -38,7 +38,9 @@ class LIBARDOUR_API Amp : public Processor { public: Amp(Session& s, std::string type = "amp"); - std::string display_name() const; + std::string display_name () const { return _display_name; } + void set_display_name (const std::string& name) { _display_name = name; } + std::string type() const { return _type;} bool visible () const; @@ -121,6 +123,8 @@ private: float _current_gain; framepos_t _current_automation_frame; + std::string _display_name; + boost::shared_ptr<GainControl> _gain_control; /** Buffer that we should use for gain automation */ |