Use dBs for send gain automation controls too.
authorCarl Hetherington <carl@carlh.net>
Tue, 28 Feb 2012 13:40:30 +0000 (13:40 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 28 Feb 2012 13:40:30 +0000 (13:40 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11539 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/send.h
libs/ardour/send.cc

index ddb9e60285d6cd5fe6539dfdc8e1cddbe29ee2c3..c83eff65ab1f414a5c2a5bb201ae58fc67328a25 100644 (file)
@@ -64,6 +64,8 @@ class Send : public Delivery
 
        bool set_name (const std::string& str);
 
+       std::string value_as_string (boost::shared_ptr<AutomationControl>) const;
+       
        static uint32_t how_many_sends();
        static void make_unique (XMLNode &, Session &);
 
index 332f53556cde767cf8430b1bf4315047f120654c..b6f042cbb240b4fba418e9ab5397944f2c44b5dc 100644 (file)
@@ -357,3 +357,11 @@ Send::display_to_user () const
 
        return true;
 }
+
+string
+Send::value_as_string (boost::shared_ptr<AutomationControl> ac) const
+{
+       return _amp->value_as_string (ac);
+}
+
+