From cecf3431097049f2ca8940bd4e611237e1371bf5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 28 Feb 2012 13:40:30 +0000 Subject: Use dBs for send gain automation controls too. git-svn-id: svn://localhost/ardour2/branches/3.0@11539 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/send.h | 2 ++ libs/ardour/send.cc | 8 ++++++++ 2 files changed, 10 insertions(+) (limited to 'libs/ardour') 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) 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 ac) const +{ + return _amp->value_as_string (ac); +} + + -- cgit v1.2.3