From 9334c99b355c7e326f5659794c88f61805aa16d0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 22 Jun 2017 21:06:12 +0200 Subject: Update Slavable API Do not use AutomationType to identify parameters, use complete Evoral::Parameter and Automatable. For "batch connections", a Slavables needs to implement an API to return the relevant controls. This is only a first step towards a more generic Master/Slave framework. --- libs/ardour/route_group.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/route_group.cc') diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc index 004e64b6fe..a309e28981 100644 --- a/libs/ardour/route_group.cc +++ b/libs/ardour/route_group.cc @@ -187,7 +187,7 @@ RouteGroup::add (boost::shared_ptr r) boost::shared_ptr vca (group_master.lock()); if (vca) { - r->assign (vca, false); + r->assign (vca); } _session.set_dirty (); @@ -656,7 +656,7 @@ RouteGroup::assign_master (boost::shared_ptr master) } for (RouteList::iterator r = routes->begin(); r != routes->end(); ++r) { - (*r)->assign (master, false); + (*r)->assign (master); } group_master = master; -- cgit v1.2.3