summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/ardour/send.h2
-rw-r--r--libs/ardour/send.cc8
2 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h
index ddb9e60285..c83eff65ab 100644
--- a/libs/ardour/ardour/send.h
+++ b/libs/ardour/ardour/send.h
@@ -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 &);
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc
index 332f53556c..b6f042cbb2 100644
--- a/libs/ardour/send.cc
+++ b/libs/ardour/send.cc
@@ -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);
+}
+
+