From c18009e11f6070d5156071a4d08efb696b2604e8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 3 Aug 2011 11:52:45 +0000 Subject: [PATCH] Use route group solo property for route listen as well as solo (#4228). git-svn-id: svn://localhost/ardour2/branches/3.0@9949 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 6ae86aa016..136692e711 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -570,6 +570,11 @@ Route::set_listen (bool yn, void* src) return; } + if (_route_group && src != _route_group && _route_group->is_active() && _route_group->is_solo()) { + _route_group->foreach_route (boost::bind (&Route::set_listen, _1, yn, _route_group)); + return; + } + if (_monitor_send) { if (yn != _monitor_send->active()) { if (yn) {