From b2df48263b7a238e1a636a030fda5f18f9ba4054 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 19 May 2016 10:43:39 -0400 Subject: add generic ::slaved() method to Route --- libs/ardour/route.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs/ardour/route.cc') diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index e393a96648..5335d69502 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -5198,6 +5198,16 @@ Route::master_send_enable_controllable () const #endif } +bool +Route::slaved () const +{ + if (!_gain_control) { + return false; + } + /* just test one particular control, not all of them */ + return _gain_control->slaved (); +} + bool Route::slaved_to (boost::shared_ptr vca) const { -- cgit v1.2.3