diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-12 14:10:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-12 14:10:15 +0000 |
commit | 825cb4ce18891f9c1f0a063c93262e19025c331d (patch) | |
tree | 264df032262390f55d368f9d39810aba032b2c89 /libs/ardour/ardour | |
parent | 27cbe72d969e16a16dd60c4d86c018a2d2cec78f (diff) |
Label logarithmic plugin controls correctly. Should fix #3767.
git-svn-id: svn://localhost/ardour2/branches/3.0@8832 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/plugin_insert.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h index c52e8c2835..ea7a081c22 100644 --- a/libs/ardour/ardour/plugin_insert.h +++ b/libs/ardour/ardour/plugin_insert.h @@ -84,6 +84,10 @@ class PluginInsert : public Processor void set_value (double val); double get_value (void) const; XMLNode& get_state(); + + bool logarithmic () const { + return _logarithmic; + } private: PluginInsert* _plugin; @@ -113,6 +117,8 @@ class PluginInsert : public Processor return _splitting; } + std::string value_as_string (boost::shared_ptr<AutomationControl>) const; + PBD::Signal2<void,BufferSet*, BufferSet*> AnalysisDataGathered; /** Emitted when the return value of splitting () has changed */ PBD::Signal0<void> SplittingChanged; |