summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-01-28 23:02:11 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-01-28 23:05:28 -0500
commit4a5b81a8384e1fcbe120a71d7841922f2748c05a (patch)
tree30c2de306d099c4aa77c17783609c1ce698da906 /libs/ardour/ardour/route.h
parentc0a843a905a094659bbf95fd9a9602edcce60f54 (diff)
add new API to Route to get name of "well-known" nth-send
Route::nth_send() has the wrong semantics in Mixbus for this purpose. Probably need to revisit this at some point
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r--libs/ardour/ardour/route.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 864ae911e5..edad4fd266 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -562,6 +562,10 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou
*/
boost::shared_ptr<AutomationControl> send_level_controllable (uint32_t n) const;
boost::shared_ptr<AutomationControl> send_enable_controllable (uint32_t n) const;
+ /* for the same value of @param n, this returns the name of the send
+ * associated with the pair of controllables returned by the above two methods.
+ */
+ std::string send_name (uint32_t n) const;
void protect_automation ();